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

OnCircuitClosedArguments<TResult>

public struct OnCircuitClosedArguments<TResult> : IOutcomeArguments<TResult>
Arguments used by OnClosed event.
public ResilienceContext Context { get; }

Gets the context of this event.

public bool IsManual { get; }

Gets a value indicating whether the circuit was closed manually by using CircuitBreakerManualControl.

public Outcome<TResult> Outcome { get; }

Gets the outcome that caused the circuit breaker to be closed.

public OnCircuitClosedArguments(ResilienceContext context, Outcome<TResult> outcome, bool isManual)

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