Class CommandExecutor
Inheritance
System.Object
CommandExecutor
Assembly: OpenMod.Core.dll
Syntax
public class CommandExecutor : object, ICommandExecutor
Constructors
|
Improve this Doc
View Source
CommandExecutor(IRuntime, ILifetimeScope, ICommandStore, ICommandPermissionBuilder, IEventBus, ILogger<CommandExecutor>)
Declaration
public CommandExecutor(IRuntime runtime, ILifetimeScope lifetimeScope, ICommandStore commandStore, ICommandPermissionBuilder commandPermissionBuilder, IEventBus eventBus, ILogger<CommandExecutor> logger)
Parameters
Methods
|
Improve this Doc
View Source
ExecuteAsync(ICommandActor, String[], String)
Declaration
public Task<ICommandContext> ExecuteAsync(ICommandActor actor, string[] args, string prefix)
Parameters
Type |
Name |
Description |
ICommandActor |
actor |
|
System.String[] |
args |
|
System.String |
prefix |
|
Returns
Implements
Extension Methods