Class RiskEvent<T>.LimitBreached
Risk limit crossed.
public sealed record RiskEvent<T>.LimitBreached : RiskEvent<T>, IRiskEvent<T>, IEvent<T>, IEquatable<IEvent<T>>, IEquatable<RiskEvent<T>>, IEquatable<RiskEvent<T>.LimitBreached>
- Inheritance
-
RiskEvent<T>RiskEvent<T>.LimitBreached
- Implements
-
IRiskEvent<T>IEvent<T>IEquatable<IEvent<T>>IEquatable<RiskEvent<T>>
- Inherited Members
Constructors
LimitBreached(string, DecimalAmount, DecimalAmount, T)
Risk limit crossed.
public LimitBreached(string LimitName, DecimalAmount Threshold, DecimalAmount Observed, T BreachedAt)
Parameters
LimitNamestringName of the limit.
ThresholdDecimalAmountThreshold value.
ObservedDecimalAmountObserved value.
BreachedAtTTime of breach.
Properties
BreachedAt
Time of breach.
public T BreachedAt { get; init; }
Property Value
- T
LimitName
Name of the limit.
public string LimitName { get; init; }
Property Value
Observed
Observed value.
public DecimalAmount Observed { get; init; }
Property Value
Threshold
Threshold value.
public DecimalAmount Threshold { get; init; }
Property Value
Time
The time at which this event's fact occurred.
public override T Time { get; }
Property Value
- T