InvocationExtensions.InvokeAsync Metodo
Definizione
Importante
Alcune informazioni sono relative alla release non definitiva del prodotto, che potrebbe subire modifiche significative prima della release definitiva. Microsoft non riconosce alcuna garanzia, espressa o implicita, in merito alle informazioni qui fornite.
Overload
InvokeAsync(Parser, String, IConsole)
public static System.Threading.Tasks.Task<int> InvokeAsync(this System.CommandLine.Parser parser, string commandLine, System.CommandLine.IConsole console = default);
static member InvokeAsync : System.CommandLine.Parser * string * System.CommandLine.IConsole -> System.Threading.Tasks.Task<int>
<Extension()>
Public Function InvokeAsync (parser As Parser, commandLine As String, Optional console As IConsole = Nothing) As Task(Of Integer)
Parametri
- parser
- Parser
- commandLine
- String
- console
- IConsole
Valori restituiti
Si applica a
InvokeAsync(Parser, ParseResult, IConsole)
public static System.Threading.Tasks.Task<int> InvokeAsync(this System.CommandLine.Parser parser, System.CommandLine.ParseResult parseResult, System.CommandLine.IConsole console = default);
static member InvokeAsync : System.CommandLine.Parser * System.CommandLine.ParseResult * System.CommandLine.IConsole -> System.Threading.Tasks.Task<int>
<Extension()>
Public Function InvokeAsync (parser As Parser, parseResult As ParseResult, Optional console As IConsole = Nothing) As Task(Of Integer)
Parametri
- parser
- Parser
- parseResult
- ParseResult
- console
- IConsole
Valori restituiti
Si applica a
InvokeAsync(Parser, String[], IConsole)
public static System.Threading.Tasks.Task<int> InvokeAsync(this System.CommandLine.Parser parser, string[] args, System.CommandLine.IConsole console = default);
static member InvokeAsync : System.CommandLine.Parser * string[] * System.CommandLine.IConsole -> System.Threading.Tasks.Task<int>
<Extension()>
Public Function InvokeAsync (parser As Parser, args As String(), Optional console As IConsole = Nothing) As Task(Of Integer)
Parametri
- parser
- Parser
- args
- String[]
- console
- IConsole
Valori restituiti
Si applica a
InvokeAsync(Command, String, IConsole)
public static System.Threading.Tasks.Task<int> InvokeAsync(this System.CommandLine.Command command, string commandLine, System.CommandLine.IConsole console = default);
static member InvokeAsync : System.CommandLine.Command * string * System.CommandLine.IConsole -> System.Threading.Tasks.Task<int>
<Extension()>
Public Function InvokeAsync (command As Command, commandLine As String, Optional console As IConsole = Nothing) As Task(Of Integer)
Parametri
- command
- Command
- commandLine
- String
- console
- IConsole
Valori restituiti
Si applica a
InvokeAsync(Command, String[], IConsole)
public static System.Threading.Tasks.Task<int> InvokeAsync(this System.CommandLine.Command command, string[] args, System.CommandLine.IConsole console = default);
static member InvokeAsync : System.CommandLine.Command * string[] * System.CommandLine.IConsole -> System.Threading.Tasks.Task<int>
<Extension()>
Public Function InvokeAsync (command As Command, args As String(), Optional console As IConsole = Nothing) As Task(Of Integer)
Parametri
- command
- Command
- args
- String[]
- console
- IConsole