CliCommandBuilder.GetChildren Method
Definition
- Namespace
- DotMake.CommandLine
- Assembly
- DotMake.CommandLine.dll
GetChildren<TParentDefinition>()
Gets the command builders that are registered as nested/external children of a parent definition.
public static IEnumerable<CliCommandBuilder> GetChildren<TParentDefinition>()
Returns
- IEnumerable<CliCommandBuilder>
An enumerable whose elements are the CliCommandBuilder instances registered as nested/external children.
Type Parameters
TParentDefinitionThe parent definition class.
GetChildren(Type)
Gets the command builders that are registered as nested/external children of a parent definition.
public static IEnumerable<CliCommandBuilder> GetChildren(Type parentDefinitionType)
Parameters
parentDefinitionTypeTypeThe type of the parent definition class.
Returns
- IEnumerable<CliCommandBuilder>
An enumerable whose elements are the CliCommandBuilder instances registered as nested/external children.