Table of Contents

Class CausationManager

Namespace
Cratis.Chronicle.Auditing
Assembly
Cratis.Chronicle.dll

Represents an implementation of ICausationManager.

public class CausationManager : ICausationManager
Inheritance
CausationManager
Implements
Inherited Members

Properties

Root

Gets the root causation.

public Causation Root { get; }

Property Value

Causation

Methods

Add(CausationType, IDictionary<string, string>)

Adds a causation.

public void Add(CausationType type, IDictionary<string, string> properties)

Parameters

type CausationType

Type to add.

properties IDictionary<string, string>

Properties associated with the causation.

GetCurrentChain()

Gets the current causation.

public IImmutableList<Causation> GetCurrentChain()

Returns

IImmutableList<Causation>

A collection of Causation.