CliContext Constructor
Initializes a new instance of the
CliContext class.
Namespace: DotMake.CommandLineAssembly: DotMake.CommandLine (in DotMake.CommandLine.dll) Version: 2.6.7
public CliContext(
CliBindingContext bindingContext,
ParseResult parseResult,
CancellationToken cancellationToken = default
)
Parameters
- bindingContext CliBindingContext
- The context used during binding of commands.
- parseResult ParseResult
- The result providing details about the parse operation.
- cancellationToken CancellationToken (Optional)
- The token to monitor for cancellation requests.