CliResultContainsTDefinition Method

Checks if the command line input contains the indicated definition class (as self or as a parent).

Definition

Namespace: DotMake.CommandLine
Assembly: DotMake.CommandLine (in DotMake.CommandLine.dll) Version: 2.6.6
C#
public bool Contains<TDefinition>()

Type Parameters

TDefinition
The definition class 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.CliResult.Contains``1"]

See Also