InvocationContext(ParseResult, IConsole) 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 InvocationContext (System.CommandLine.Parsing.ParseResult parseResult, System.CommandLine.IConsole? console = default);
new System.CommandLine.Invocation.InvocationContext : System.CommandLine.Parsing.ParseResult * System.CommandLine.IConsole -> System.CommandLine.Invocation.InvocationContext
Public Sub New (parseResult As ParseResult, Optional console As IConsole = Nothing)
Parameters
- parseResult
- ParseResult
The result of the current parse operation.
- console
- IConsole
The console to which output is to be written.
Applies to
Samarbeta med oss på GitHub
Källan för det här innehållet finns på GitHub, där du även kan skapa och granska ärenden och pull-begäranden. Se vår deltagarguide för mer information.