Struct OnOutcomeInjectedArguments<TResult>
Arguments used by the outcome chaos strategy to notify that an outcome was injected.
public readonly struct OnOutcomeInjectedArguments<TResult>
Type Parameters
TResult
The type of the outcome that was injected.
- Inherited Members
Constructors
OnOutcomeInjectedArguments(ResilienceContext, Outcome<TResult>)
Initializes a new instance of the OnOutcomeInjectedArguments<TResult> struct.
public OnOutcomeInjectedArguments(ResilienceContext context, Outcome<TResult> outcome)
Parameters
context
ResilienceContextThe resilience context instance.
outcome
Outcome<TResult>The outcome that was injected.
Properties
Context
Gets the resilience context instance.
public ResilienceContext Context { get; }
Property Value
Outcome
Gets the outcome that was injected.
public Outcome<TResult> Outcome { get; }
Property Value
- Outcome<TResult>