-
Home
-
API
-
XenoAtom.CommandLine
-
CommandExtensions
-
Methods
-
Add(TCommand, Option)
Add(TCommand, Option) Method
Definition
Adds an option to this command container.
public static TCommand Add<TCommand>(this TCommand command, Option option)
where TCommand : CommandContainer
Type parameters
- TCommand
- Type of the command container.
Parameters
- command
- {TCommand}
The command to add the action to.
- option
- Option
The option to add to this container.
Returns
- {TCommand}
- The command container.