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
IsActive
Gets whether a command invocation is active.
public static bool IsActive { get; }
Property Value
IsProtected
Gets whether this invocation is explicitly protected.
public static bool IsProtected { get; }
Property Value
Mode
Gets the current invocation's profile, or Legacy outside the command pipeline.
public static CommandDecisionMode Mode { get; }
Property Value
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
Token
The current invocation identity, distinct for nested executions even of the same command type.
public static object? Token { get; }