Table of Contents

Struct OnOutcomeInjectedArguments<TResult>

Namespace
Polly.Simmy.Outcomes
Assembly
Polly.Core.dll

Arguments used by the outcome chaos strategy to notify that an outcome was injected.

public readonly struct OnOutcomeInjectedArguments<TResult>

Type Parameters

TResult

The type of the outcome that was injected.

Inherited Members

Constructors

OnOutcomeInjectedArguments(ResilienceContext, Outcome<TResult>)

Initializes a new instance of the OnOutcomeInjectedArguments<TResult> struct.

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

Parameters

context ResilienceContext

The resilience context instance.

outcome Outcome<TResult>

The outcome that was injected.

Properties

Context

Gets the resilience context instance.

public ResilienceContext Context { get; }

Property Value

ResilienceContext

Outcome

Gets the outcome that was injected.

public Outcome<TResult> Outcome { get; }

Property Value

Outcome<TResult>