Table of Contents

Class Causation

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

Represents a causation instance.

public record Causation : IEquatable<Causation>
Inheritance
Causation
Implements
Inherited Members

Constructors

Causation(DateTimeOffset, CausationType, IDictionary<string, string>)

Represents a causation instance.

public Causation(DateTimeOffset Occurred, CausationType Type, IDictionary<string, string> Properties)

Parameters

Occurred DateTimeOffset

When it occurred.

Type CausationType

Type of causation.

Properties IDictionary<string, string>

Any properties associated with the causation.

Properties

Occurred

When it occurred.

public DateTimeOffset Occurred { get; init; }

Property Value

DateTimeOffset

Properties

Any properties associated with the causation.

public IDictionary<string, string> Properties { get; init; }

Property Value

IDictionary<string, string>

Type

Type of causation.

public CausationType Type { get; init; }

Property Value

CausationType