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

HedgingPredicateArguments<TResult>

public struct HedgingPredicateArguments<TResult> : IOutcomeArguments<TResult>
Represents arguments used in hedging handling scenarios.
public ResilienceContext Context { get; }

Gets the context of this event.

public Outcome<TResult> Outcome { get; }

Gets the outcome of the user-specified callback.

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

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