Table of Contents

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

TDefinition

The definition class.

Get(Type)

Gets the command builder registered for the definition class.

public static CliCommandBuilder Get(Type definitionType)

Parameters

definitionType Type

The type of the definition class.

Returns

CliCommandBuilder

The registered CliCommandBuilder instance.