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

当前分析操作的结果。

适用于