CommandContext(IEnumerable<string>, IRemainingArguments, string, object) Constructor
Initializes a new instance of the
CommandContext
class.
public CommandContext(IEnumerable<string> arguments, IRemainingArguments remaining, string name, object data)
- Namespace
- Spectre
.Console .Cli - Containing Type
- CommandContext
Parameters
-
IEnumerable
<string> arguments - All arguments that were passed to the application.
- IRemainingArguments remaining
- The remaining arguments.
- string name
- The command name.
- object data
- The command data.