Edit

Share via


InvocationContext(ParseResult, IConsole) Constructor

Definition

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