Struct OnLatencyInjectedArguments
Arguments used by the latency chaos strategy to notify that a latency was injected.
public readonly struct OnLatencyInjectedArguments
- Inherited Members
Constructors
OnLatencyInjectedArguments(ResilienceContext, TimeSpan)
Initializes a new instance of the OnLatencyInjectedArguments struct.
public OnLatencyInjectedArguments(ResilienceContext context, TimeSpan latency)
Parameters
context
ResilienceContextThe resilience context instance.
latency
TimeSpanThe latency that was injected.
Properties
Context
Gets the resilience context instance.
public ResilienceContext Context { get; }
Property Value
Latency
Gets the latency that was injected.
public TimeSpan Latency { get; }