共用方式為


HelpContext(HelpBuilder, Command, TextWriter, ParseResult) 建構函式

定義

public HelpContext (System.CommandLine.Help.HelpBuilder helpBuilder, System.CommandLine.Command command, System.IO.TextWriter output, System.CommandLine.Parsing.ParseResult? parseResult = default);
new System.CommandLine.Help.HelpContext : System.CommandLine.Help.HelpBuilder * System.CommandLine.Command * System.IO.TextWriter * System.CommandLine.Parsing.ParseResult -> System.CommandLine.Help.HelpContext
Public Sub New (helpBuilder As HelpBuilder, command As Command, output As TextWriter, Optional parseResult As ParseResult = Nothing)

參數

helpBuilder
HelpBuilder

目前的說明產生器。

command
Command

正在格式化說明的命令。

output
TextWriter

要寫入輸出的文字寫入器。

parseResult
ParseResult

目前剖析作業的結果。

適用於