CliCommandBuilder.Get Method
Definition
- Namespace
- DotMake.CommandLine
- Assembly
- DotMake.CommandLine.dll
Get<TDefinition>()
Gets the command builder registered for the definition class.
public static CliCommandBuilder Get<TDefinition>()
Returns
- CliCommandBuilder
The registered CliCommandBuilder instance.
Type Parameters
TDefinitionThe definition class.
Get(Type)
Gets the command builder registered for the definition class.
public static CliCommandBuilder Get(Type definitionType)
Parameters
definitionTypeTypeThe type of the definition class.
Returns
- CliCommandBuilder
The registered CliCommandBuilder instance.