HedgingActionGeneratorArguments<TResult>
public struct HedgingActionGeneratorArguments<TResult> : IEquatable<HedgingActionGeneratorArguments<TResult>>
Represents arguments used in the hedging resilience strategy.
The zero-based hedging attempt number.
The callback passed to hedging strategy.
The context associated with the execution of a user-provided callback.
public HedgingActionGeneratorArguments(ResilienceContext Context, int Attempt, Func<ResilienceContext, ValueTask<Outcome<TResult>>> Callback)
Represents arguments used in the hedging resilience strategy.
public static bool op_Equality(HedgingActionGeneratorArguments<TResult> left, HedgingActionGeneratorArguments<TResult> right)
public static bool op_Inequality(HedgingActionGeneratorArguments<TResult> left, HedgingActionGeneratorArguments<TResult> right)