Table of Contents

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

TParentDefinition

The parent definition class.

TChildDefinition

The 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)

Parameters

parentDefinitionType Type

The type of the parent definition class.

childDefinitionType Type

The type of the child definition class.