Class CommandDecisionPolicy

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

The immutable protection profile of the current command invocation.

public static class CommandDecisionPolicy
Inheritance
CommandDecisionPolicy
Inherited Members

Properties

DeclaredReadProtection

Gets the compile-time declaration before the operational runtime cap is applied.

public static ReadProtectionMode DeclaredReadProtection { get; }

Property Value

ReadProtectionMode

IsActive

Gets whether a command invocation is active.

public static bool IsActive { get; }

Property Value

bool

IsProtected

Gets whether this invocation is explicitly protected.

public static bool IsProtected { get; }

Property Value

bool

Mode

Gets the current invocation's profile, or Legacy outside the command pipeline.

public static CommandDecisionMode Mode { get; }

Property Value

CommandDecisionMode

ReadProtection

Gets the resolved read-protection declaration, or Off outside the command pipeline. Resolution alone does not enable reads or append guards.

public static ReadProtectionMode ReadProtection { get; }

Property Value

ReadProtectionMode

Token

The current invocation identity, distinct for nested executions even of the same command type.

public static object? Token { get; }

Property Value

object