Interface ICommandService
Base interface for CommandService<TContext>.
public interface ICommandService : IService
- Inherited Members
Methods
AddCommand(CommandBuilder)
Adds a command to the service.
void AddCommand(CommandBuilder builder)
Parameters
builderCommandBuilderThe command builder.
AddCommandGroup(CommandGroupBuilder)
Adds a command group to the service.
void AddCommandGroup(CommandGroupBuilder builder)
Parameters
builderCommandGroupBuilderThe command group builder.
AddModule(Type)
Adds a command module to the service.
void AddModule(Type type)
Parameters
typeTypeThe type of the command module to add.
AddModule<T>()
Adds a command module to the service.
void AddModule<T>()
Type Parameters
TThe type of the command module to add.