CliBindingContextContainsTDefinition(ParseResult) Method
Checks if the command line input contains the indicated definition class (as self or as a parent).
Namespace: DotMake.CommandLineAssembly: DotMake.CommandLine (in DotMake.CommandLine.dll) Version: 2.6.7
public bool Contains<TDefinition>(
ParseResult parseResult
)
- parseResult ParseResult
-
A parse result describing the outcome of the parse operation.
- TDefinition
-
The definition class for the command. A command builder for this class should be automatically generated by the source generator.
Boolean[Missing <returns> documentation for "M:DotMake.CommandLine.CliBindingContext.Contains``1(System.CommandLine.ParseResult)"]