ParseResultExtensions.Invoke(ParseResult, IConsole) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Invokes the appropriate command handler for a parsed command line input.
public static int Invoke (this System.CommandLine.Parsing.ParseResult parseResult, System.CommandLine.IConsole? console = default);
static member Invoke : System.CommandLine.Parsing.ParseResult * System.CommandLine.IConsole -> int
<Extension()>
Public Function Invoke (parseResult As ParseResult, Optional console As IConsole = Nothing) As Integer
Parameters
- parseResult
- ParseResult
A parse result on which the invocation is based.
Returns
A value that can be used as a process exit code.
Applies to
Sodelujte z nami v storitvi GitHub
Vir za to vsebino najdete v storitvi GitHub, kjer lahko tudi ustvarite in pregledate težave in zahtevke za uveljavitev sprememb. Če želite več informacij, glejte naš vodnik za sodelavce.