CliBindingContextIsCalled(ParseResult, Type) Method

Checks if the command line input is for the indicated definition class.

Definition

Namespace: DotMake.CommandLine
Assembly: DotMake.CommandLine (in DotMake.CommandLine.dll) Version: 2.6.7
C#
public bool IsCalled(
	ParseResult parseResult,
	Type definitionType
)

Parameters

parseResult  ParseResult
A parse result describing the outcome of the parse operation.
definitionType  Type
The definition class type for the command. A command builder for this class should be automatically generated by the source generator.

Return Value

Boolean

[Missing <returns> documentation for "M:DotMake.CommandLine.CliBindingContext.IsCalled(System.CommandLine.ParseResult,System.Type)"]

See Also