HelpContext(HelpBuilder, Command, TextWriter, ParseResult) Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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)
Parameters
- helpBuilder
- HelpBuilder
The current help builder.
- command
- Command
The command for which help is being formatted.
- output
- TextWriter
A text writer to write output to.
- parseResult
- ParseResult
The result of the current parse operation.
Applies to
Samarbejd med os på GitHub
Kilden til dette indhold kan findes på GitHub, hvor du også kan oprette og gennemse problemer og pullanmodninger. Du kan få flere oplysninger i vores vejledning til bidragydere.