Class CommandContextManager
- Namespace
- Cratis.Arc.Commands
- Assembly
- Cratis.Arc.Core.dll
Manages the current CommandContext in an async local manner.
public class CommandContextManager : ICommandContextModifier, ICommandContextAccessor
- Inheritance
-
CommandContextManager
- Implements
- Inherited Members
- Extension Methods
Constructors
CommandContextManager()
public CommandContextManager()
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.