HedgingActionGeneratorArguments<TResult>
Represents arguments used in the hedging resilience strategy.
Gets the action context that will be used for the hedged action.
Gets the zero-based hedging attempt number.
Gets the callback passed to the hedging strategy.
Gets the primary resilience context as received by the hedging strategy.
public HedgingActionGeneratorArguments(ResilienceContext primaryContext, ResilienceContext actionContext, int attemptNumber, Func<ResilienceContext, ValueTask<Outcome<TResult>>> callback)
Initializes a new instance of the HedgingActionGeneratorArguments<T> struct.