Class CommandContextManager
- Namespace
- Cratis.Applications.Commands
- Assembly
- Cratis.Applications.dll
Manages the current CommandContext in an async local manner.
public class CommandContextManager : ICommandContextModifier, ICommandContextAccessor
- Inheritance
-
CommandContextManager
- Implements
- Inherited Members
- Extension Methods
Properties
Current
Gets the current CommandContext.
public CommandContext Current { get; }
Property Value
Methods
SetCurrent(CommandContext)
Sets the current CommandContext.
public void SetCurrent(CommandContext context)
Parameters
contextCommandContextThe CommandContext to set as current.