Interface ICommandOperationExecutionScope

Namespace
Cratis.Arc.Commands
Assembly
Cratis.Arc.Core.dll

Explicitly opts an execution scope into flat command operation boundaries. Legacy scope order is preserved. A nonparticipant promises not to commit business changes; a participant reports conservative commit facts even after completion throws. At most one deferred participant is supported. Begin must not commit business work.

public interface ICommandOperationExecutionScope : ICommandExecutionScope
Inherited Members
Extension Methods

Properties

IsCommitParticipant

Gets whether this scope coordinates a deferred business commit.

bool IsCommitParticipant { get; }

Property Value

bool

Methods

GetCommitDisposition(CommandContext)

Gets observed commit facts for this command, including uncertainty from out-of-band commits.

CommandCommitDisposition GetCommitDisposition(CommandContext context)

Parameters

context CommandContext

The originating command context.

Returns

CommandCommitDisposition

Authoritative facts, or Unknown when unavailable. Never infer this from command success alone.