InvocationExtensions.Invoke Metódus
Definíció
Fontos
Egyes információk olyan, kiadás előtti termékekre vonatkoznak, amelyek a kiadásig még jelentősen módosulhatnak. A Microsoft nem vállal kifejezett vagy törvényi garanciát az itt megjelenő információért.
Túlterhelések
| Név | Description |
|---|---|
| Invoke(Command, String, IConsole) | |
| Invoke(Command, String[], IConsole) | |
| Invoke(Parser, ParseResult, IConsole) | |
| Invoke(Parser, String, IConsole) | |
| Invoke(Parser, String[], IConsole) |
Invoke(Command, String, IConsole)
public static int Invoke(this System.CommandLine.Command command, string commandLine, System.CommandLine.IConsole console = default);
static member Invoke : System.CommandLine.Command * string * System.CommandLine.IConsole -> int
<Extension()>
Public Function Invoke (command As Command, commandLine As String, Optional console As IConsole = Nothing) As Integer
Paraméterek
- command
- Command
- commandLine
- String
- console
- IConsole
Válaszok
A következőre érvényes:
Invoke(Command, String[], IConsole)
public static int Invoke(this System.CommandLine.Command command, string[] args, System.CommandLine.IConsole console = default);
static member Invoke : System.CommandLine.Command * string[] * System.CommandLine.IConsole -> int
<Extension()>
Public Function Invoke (command As Command, args As String(), Optional console As IConsole = Nothing) As Integer
Paraméterek
- command
- Command
- args
- String[]
- console
- IConsole
Válaszok
A következőre érvényes:
Invoke(Parser, ParseResult, IConsole)
public static int Invoke(this System.CommandLine.Parser parser, System.CommandLine.ParseResult parseResult, System.CommandLine.IConsole console = default);
static member Invoke : System.CommandLine.Parser * System.CommandLine.ParseResult * System.CommandLine.IConsole -> int
<Extension()>
Public Function Invoke (parser As Parser, parseResult As ParseResult, Optional console As IConsole = Nothing) As Integer
Paraméterek
- parser
- Parser
- parseResult
- ParseResult
- console
- IConsole
Válaszok
A következőre érvényes:
Invoke(Parser, String, IConsole)
public static int Invoke(this System.CommandLine.Parser parser, string commandLine, System.CommandLine.IConsole console = default);
static member Invoke : System.CommandLine.Parser * string * System.CommandLine.IConsole -> int
<Extension()>
Public Function Invoke (parser As Parser, commandLine As String, Optional console As IConsole = Nothing) As Integer
Paraméterek
- parser
- Parser
- commandLine
- String
- console
- IConsole
Válaszok
A következőre érvényes:
Invoke(Parser, String[], IConsole)
public static int Invoke(this System.CommandLine.Parser parser, string[] args, System.CommandLine.IConsole console = default);
static member Invoke : System.CommandLine.Parser * string[] * System.CommandLine.IConsole -> int
<Extension()>
Public Function Invoke (parser As Parser, args As String(), Optional console As IConsole = Nothing) As Integer
Paraméterek
- parser
- Parser
- args
- String[]
- console
- IConsole