Taal

HelpExtensions.FunctionName(Command, String[]) Methode

Definitie

Maak een unieke shell-functienaam voor een opdracht. Deze namen moeten zijn

  • verschilt van de naam van de opdracht 'root' (dat wil bijvoorbeeld dat we de functienaam dotnet niet genereren voor het binaire 'dotnet')
  • distinct based on 'path' to get to this function (vandaar de parentCommandNames)
public static string FunctionName(this System.CommandLine.Command command, string[]? parentCommandNames = default);
static member FunctionName : System.CommandLine.Command * string[] -> string
<Extension()>
Public Function FunctionName (command As Command, Optional parentCommandNames As String() = Nothing) As String

Parameters

command
Command
parentCommandNames
String[]

De keten van opdrachten om naar deze opdracht te gaan

Retouren

Van toepassing op