Class Causation
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
DateTimeOffsetWhen it occurred.
Type
CausationTypeType of causation.
Properties
IDictionary<string, string>Any properties associated with the causation.
Properties
Occurred
When it occurred.
public DateTimeOffset Occurred { get; init; }
Property Value
Properties
Any properties associated with the causation.
public IDictionary<string, string> Properties { get; init; }
Property Value
Type
Type of causation.
public CausationType Type { get; init; }