HelpExtensions.FunctionName(Command, String[]) メソッド
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
コマンドの一意のシェル関数名を作成します。
- '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[]
このコマンドにアクセスするコマンドのチェーン