Class RichRiskEvent<T>
Enriched risk events — same IRiskEvent<T> marker as RiskEvent<T> but with attribution metadata and a pass-through case for the raw event.
public abstract record RichRiskEvent<T> : IRiskEvent<T>, IEvent<T>, IEquatable<IEvent<T>>, IEquatable<RichRiskEvent<T>> where T : struct, IComparable<T>
Type Parameters
TThe event's own time type. Constrained to
structhere (unlike the other generic event hierarchies) because RichRiskEvent<T>.DrawdownWithMetadata needs genuine value-type nullability forRecoveryTime— an unconstrainedT?would silently collapse to non-nullableTfor value types.
- Inheritance
-
RichRiskEvent<T>
- Implements
-
IRiskEvent<T>IEvent<T>IEquatable<IEvent<T>>
- Derived
- Inherited Members
Properties
Time
The time at which this event's fact occurred.
public abstract T Time { get; }
Property Value
- T