OpenMod Docs OpenMod Docs
OpenMod Docs OpenMod Docs
OpenMod .NET Plugin Framework.

Interface ICurrentCommandContextAccessor

The service for getting the current command context.

Namespace: OpenMod.API.Commands
Assembly: OpenMod.API.dll
Syntax
public interface ICurrentCommandContextAccessor

Properties

| Improve this Doc View Source

Context

Gets or sets the command context processed by the current thread. Returns null if the current thread does not handle a command currently.

Declaration
ICommandContext Context { get; set; }
Property Value
Type Description
ICommandContext

Extension Methods

DisposeHelper.DisposeSyncOrAsync(Object)