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
Zusammenarbeit auf GitHub
Die Quelle für diesen Inhalt finden Sie auf GitHub, wo Sie auch Issues und Pull Requests erstellen und überprüfen können. Weitere Informationen finden Sie in unserem Leitfaden für Mitwirkende.