Interface ICommandInitializer
An initializer that creates a command instance from a descriptor.
Namespace: TehGM.Wolfringo.Commands.Initialization
Assembly: Wolfringo.Commands.dll
Syntax
public interface ICommandInitializer
Methods
| Improve this Doc View SourceInitializeCommand(ICommandInstanceDescriptor, CommandsOptions)
Initializes a command instance.
Declaration
ICommandInstance InitializeCommand(ICommandInstanceDescriptor descriptor, CommandsOptions options)
Parameters
Type | Name | Description |
---|---|---|
ICommandInstanceDescriptor | descriptor | Descriptor of the command. |
CommandsOptions | options | Default options to initialize the instance with. |
Returns
Type | Description |
---|---|
ICommandInstance | A new command instance. |