Table of Contents

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

CommandContext

Methods

SetCurrent(CommandContext)

Sets the current CommandContext.

public void SetCurrent(CommandContext context)

Parameters

context CommandContext

The CommandContext to set as current.