Table of Contents

CliNamer.GetDirectiveName Method

Definition

Namespace
DotMake.CommandLine
Assembly
DotMake.CommandLine.dll

Gets an auto or a specific directive name for a symbol by using current DotMake.CommandLine.CliNamer.nameCasingConvention. Tracks used names and aliases and throws if name already exists.

Auto name is generated only when current DotMake.CommandLine.CliNamer.nameAutoGenerate contains Directives.

public string GetDirectiveName(string symbolName, string specificName = null)

Parameters

symbolName string
specificName string

Returns

string