Table of Contents

Class SagaResult<TState>

Namespace
PatternKit.Messaging.Sagas
Assembly
PatternKit.Core.dll

Result returned after a saga processes a message.

public sealed class SagaResult<TState>

Type Parameters

TState
Inheritance
SagaResult<TState>
Inherited Members

Constructors

SagaResult(TState, bool, bool)

Creates a saga result.

public SagaResult(TState state, bool matched, bool completed)

Parameters

state TState
matched bool
completed bool

Properties

Completed

true when the saga completion policy is satisfied.

public bool Completed { get; }

Property Value

bool

Matched

true when at least one saga step handled the message.

public bool Matched { get; }

Property Value

bool

State

The state after message processing.

public TState State { get; }

Property Value

TState