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

Class CommandExecutingEvent

Inheritance
System.Object
EventBase
Event
CommandExecutingEvent
Implements
ICancellableEvent
IEvent
Inherited Members
Event.Arguments
EventBase.Name
EventBase.Data
Namespace: OpenMod.Core.Commands.Events
Assembly: OpenMod.Core.dll
Syntax
public sealed class CommandExecutingEvent : Event, ICancellableEvent, IEvent

Constructors

| Improve this Doc View Source

CommandExecutingEvent(ICommandActor, ICommandContext)

Declaration
public CommandExecutingEvent(ICommandActor actor, ICommandContext commandContext)
Parameters
Type Name Description
ICommandActor actor
ICommandContext commandContext

Properties

| Improve this Doc View Source

Actor

Declaration
public ICommandActor Actor { get; }
Property Value
Type Description
ICommandActor
| Improve this Doc View Source

CommandContext

Declaration
public ICommandContext CommandContext { get; }
Property Value
Type Description
ICommandContext
| Improve this Doc View Source

IsCancelled

Declaration
public bool IsCancelled { get; set; }
Property Value
Type Description
System.Boolean

Implements

ICancellableEvent
IEvent

Extension Methods

DisposeHelper.DisposeSyncOrAsync(Object)