Table of Contents

Interface ICausationManager

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

Defines a system that manages causation.

public interface ICausationManager

Properties

Root

Gets the root causation.

Causation Root { get; }

Property Value

Causation

Methods

Add(CausationType, IDictionary<string, string>)

Adds a causation.

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.

IImmutableList<Causation> GetCurrentChain()

Returns

IImmutableList<Causation>

A collection of Causation.