Class CommandOperationBoundary
- Namespace
- Cratis.Arc.Commands
- Assembly
- Cratis.Arc.Core.dll
Guards integration-owned early commits inside command operation boundaries. Arbitrary user service writes are outside this contract.
public static class CommandOperationBoundary
- Inheritance
-
CommandOperationBoundary
- Inherited Members
Properties
IsActive
Gets whether the current command can declare operations.
public static bool IsActive { get; }
Property Value
Methods
ThrowIfActive()
Rejects an explicit commit before business work when command operations may participate.
public static void ThrowIfActive()
Exceptions
- InvalidCommandOperation
The boundary requires a deferred coordinated commit.