ข้ามไปยังเนื้อหา

Interface IDurableExecution

เนื้อหานี้ยังไม่ได้แปลเป็นภาษาไทย แสดงเป็นภาษาอังกฤษแทน

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

Describes the replayable state contract for one durable execution workflow.

public interface IDurableExecution<TState> : IAggregate<TState>

TState

The workflow state shape.

IAggregate<TState>

Creates the initial workflow state used before any events exist for the execution stream.

TState CreateInitialState()

TState

The initial workflow state.

ResolveStreamId(string, IBehaviorContext)

Section titled “ ResolveStreamId(string, IBehaviorContext)”

Resolves the event-store stream identifier that owns this workflow execution.

string ResolveStreamId(string behaviorId, IBehaviorContext context)

behaviorId string

The stable behavior identifier.

context IBehaviorContext

The ambient behavior context for the current invocation.

string

The stable stream identifier used for replay and append operations.