Skip to content

Class SagaChoreographyStepResult

Namespace: Cephalon.Behaviors.Patterns.Abstractions
Assembly: Cephalon.Behaviors.Patterns.dll

Carries typed local output and event publications produced by one choreography-based saga step.

public sealed class SagaChoreographyStepResult<TOutput> : ISagaChoreographyStepResult

TOutput

The local output type returned by the choreography step.

objectSagaChoreographyStepResult<TOutput>

ISagaChoreographyStepResult

object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.ReferenceEquals(object?, object?), object.ToString()

SagaChoreographyStepResult(TOutput, IReadOnlyList<SagaChoreographyPublication>?)

Section titled “ SagaChoreographyStepResult(TOutput, IReadOnlyList<SagaChoreographyPublication>?)”

Initializes a new instance of .

public SagaChoreographyStepResult(TOutput output, IReadOnlyList<SagaChoreographyPublication>? publications = null)

output TOutput

The typed local output returned to the caller.

publications IReadOnlyList<SagaChoreographyPublication>?

The publications that continue or compensate the saga.

Gets the typed local output returned to the caller.

public TOutput Output { get; }

TOutput

Gets the publications that continue or compensate the saga.

public IReadOnlyList<SagaChoreographyPublication> Publications { get; }

IReadOnlyList<SagaChoreographyPublication>