CliContext Constructor

Initializes a new instance of the CliContext class.

Definition

Namespace: DotMake.CommandLine
Assembly: DotMake.CommandLine (in DotMake.CommandLine.dll) Version: 2.6.7
C#
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.

See Also