CommandLineParser Klas
Definitie
Belangrijk
Bepaalde informatie heeft betrekking op een voorlopige productversie die aanzienlijk kan worden gewijzigd voordat deze wordt uitgebracht. Microsoft biedt geen enkele expliciete of impliciete garanties met betrekking tot de informatie die hier wordt verstrekt.
Parseert opdrachtregelinvoer.
public ref class CommandLineParser abstract sealed
public ref class CommandLineParser : System::CommandLine::Parser
public static class CommandLineParser
public class CommandLineParser : System.CommandLine.Parser
type CommandLineParser = class
type CommandLineParser = class
inherit Parser
Public Class CommandLineParser
Public Class CommandLineParser
Inherits Parser
- Overname
-
CommandLineParser
- Overname
Constructors
| Naam | Description |
|---|---|
| CommandLineParser(CommandLineConfiguration) |
Parseert opdrachtregelinvoer. |
Methoden
| Naam | Description |
|---|---|
| Parse(Command, IReadOnlyList<String>, ParserConfiguration) |
Parseert een lijst met argumenten. |
| Parse(Command, String, ParserConfiguration) |
Parseert een opdrachtregelreeks. |
| Parse(IReadOnlyList<String>, String) |
Parseert opdrachtregelinvoer. |
| SplitCommandLine(String) |
Splitst een tekenreeks in een reeks tekenreeksen op basis van witruimte en aanhalingstekens. |
Extensiemethoden
| Naam | Description |
|---|---|
| Invoke(Parser, ParseResult, IConsole) |
Parseert opdrachtregelinvoer. |
| Invoke(Parser, String, IConsole) |
Parseert opdrachtregelinvoer. |
| Invoke(Parser, String[], IConsole) |
Parseert opdrachtregelinvoer. |
| InvokeAsync(Parser, ParseResult, IConsole) |
Parseert opdrachtregelinvoer. |
| InvokeAsync(Parser, String, IConsole) |
Parseert opdrachtregelinvoer. |
| InvokeAsync(Parser, String[], IConsole) |
Parseert opdrachtregelinvoer. |
| Parse(Parser, String) |
Parseert opdrachtregelinvoer. |