Language

HelpExtensions.FunctionName(Command, String[]) メソッド

定義

コマンドの一意のシェル関数名を作成します。

  • 'root' コマンドの名前とは異なります (つまり、バイナリ 'dotnet' の関数名 'dotnet' を生成しないでください)
  • この関数に到達するための 'path' に基づいて個別 (したがって 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

パラメーター

command
Command
parentCommandNames
String[]

このコマンドにアクセスするコマンドのチェーン

返品

適用対象