<PackageReference Include="Polly.Core" Version="8.0.0-alpha.1" />

HedgingActionGeneratorArguments<TResult>

Represents arguments used in the hedging resilience strategy.
public int Attempt { get; set; }

The zero-based hedging attempt number.

public Func<ResilienceContext, ValueTask<Outcome<TResult>>> Callback { get; set; }

The callback passed to hedging strategy.

public ResilienceContext Context { get; set; }

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)

public void Deconstruct(out ResilienceContext Context, out int Attempt, out Func Callback)

public bool Equals(HedgingActionGeneratorArguments<TResult> other)