Interface ICommandGroupSubCommandBuilder<T>
Adds sub-commands to a command group.
public interface ICommandGroupSubCommandBuilder<out T> : ICommandGroupBuilder where T : ICommandGroupSubCommandBuilder<out T>
Type Parameters
T
- Inherited Members
Methods
WithCommand(ICommand)
Adds a command built with the chat engine's CreateCommand or CreateCommandGroup
to the group as a sub-command.
T WithCommand(ICommand command)
Parameters
commandICommand
Returns
- T
Exceptions
- ArgumentException
commandwas built some other way.