Język

CommandLineParser Klasa

Definicja

Analizuje dane wejściowe wiersza polecenia.

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
Dziedziczenie
CommandLineParser
Dziedziczenie
CommandLineParser

Konstruktory

Nazwisko Opis
CommandLineParser(CommandLineConfiguration)

Analizuje dane wejściowe wiersza polecenia.

Metody

Nazwisko Opis
Parse(Command, IReadOnlyList<String>, ParserConfiguration)

Analizuje listę argumentów.

Parse(Command, String, ParserConfiguration)

Analizuje ciąg wiersza polecenia.

Parse(IReadOnlyList<String>, String)

Analizuje dane wejściowe wiersza polecenia.

SplitCommandLine(String)

Dzieli ciąg na sekwencję ciągów na podstawie białych znaków i cudzysłowów.

Metody rozszerzania

Nazwisko Opis
Invoke(Parser, ParseResult, IConsole)

Analizuje dane wejściowe wiersza polecenia.

Invoke(Parser, String, IConsole)

Analizuje dane wejściowe wiersza polecenia.

Invoke(Parser, String[], IConsole)

Analizuje dane wejściowe wiersza polecenia.

InvokeAsync(Parser, ParseResult, IConsole)

Analizuje dane wejściowe wiersza polecenia.

InvokeAsync(Parser, String, IConsole)

Analizuje dane wejściowe wiersza polecenia.

InvokeAsync(Parser, String[], IConsole)

Analizuje dane wejściowe wiersza polecenia.

Parse(Parser, String)

Analizuje dane wejściowe wiersza polecenia.

Dotyczy