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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.