CliCommandBuilder.RegisterAsChild Method
Definition
- Namespace
- DotMake.CommandLine
- Assembly
- DotMake.CommandLine.dll
RegisterAsChild<TParentDefinition, TChildDefinition>()
Registers a command builder as a nested/external child so that it can be found by the parent definition class.
public static void RegisterAsChild<TParentDefinition, TChildDefinition>()
Type Parameters
TParentDefinitionThe parent definition class.
TChildDefinitionThe child definition class.
RegisterAsChild(Type, Type)
Registers a command builder as a nested/external child so that it can be found by the parent definition class.
public static void RegisterAsChild(Type parentDefinitionType, Type childDefinitionType)