InvocationExtensions.InvokeAsync Metod
Definition
Viktigt
En del information gäller för förhandsversionen av en produkt och kan komma att ändras avsevärt innan produkten blir allmänt tillgänglig. Microsoft lämnar inga garantier, uttryckliga eller underförstådda, avseende informationen som visas här.
Överlagringar
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)
Parametrar
- parser
- Parser
- commandLine
- String
- console
- IConsole
Returer
Gäller för
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)
Parametrar
- parser
- Parser
- parseResult
- ParseResult
- console
- IConsole
Returer
Gäller för
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)
Parametrar
- parser
- Parser
- args
- String[]
- console
- IConsole
Returer
Gäller för
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)
Parametrar
- command
- Command
- commandLine
- String
- console
- IConsole
Returer
Gäller för
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)
Parametrar
- command
- Command
- args
- String[]
- console
- IConsole