共用方式為


InvocationContext(ParseResult, IConsole) 建構函式

定義

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)

參數

parseResult
ParseResult

目前剖析作業的結果。

console
IConsole

要寫入輸出的主控台。

適用於