<PackageReference Include="Polly.Core" Version="8.5.2" />

OnOutcomeInjectedArguments<TResult>

public struct OnOutcomeInjectedArguments<TResult>
Arguments used by the outcome chaos strategy to notify that an outcome was injected.
public ResilienceContext Context { get; }

Gets the resilience context instance.

public Outcome<TResult> Outcome { get; }

Gets the outcome that was injected.

public OnOutcomeInjectedArguments(ResilienceContext context, Outcome<TResult> outcome)

Initializes a new instance of the OnOutcomeInjectedArguments<T> struct.