Udostępnij przez


Parser Konstruktory

Definicja

Przeciążenia

Parser()

Inicjuje Parser nowe wystąpienie klasy przy użyciu domyślnego RootCommandelementu .

Parser(Command)

Inicjuje Parser nowe wystąpienie klasy przy użyciu określonego polecenia.

Parser(CommandLineConfiguration)

Inicjuje nowe wystąpienie Parser klasy przy użyciu określonej konfiguracji.

Parser()

Inicjuje Parser nowe wystąpienie klasy przy użyciu domyślnego RootCommandelementu .

public:
 Parser();
public Parser ();
Public Sub New ()

Dotyczy

Parser(Command)

Inicjuje Parser nowe wystąpienie klasy przy użyciu określonego polecenia.

public:
 Parser(System::CommandLine::Command ^ command);
public Parser (System.CommandLine.Command command);
new System.CommandLine.Parsing.Parser : System.CommandLine.Command -> System.CommandLine.Parsing.Parser
Public Sub New (command As Command)

Parametry

command
Command

Polecenie główne analizatora.

Dotyczy

Parser(CommandLineConfiguration)

Inicjuje nowe wystąpienie Parser klasy przy użyciu określonej konfiguracji.

public:
 Parser(System::CommandLine::CommandLineConfiguration ^ configuration);
public Parser (System.CommandLine.CommandLineConfiguration configuration);
new System.CommandLine.Parsing.Parser : System.CommandLine.CommandLineConfiguration -> System.CommandLine.Parsing.Parser
Public Sub New (configuration As CommandLineConfiguration)

Parametry

configuration
CommandLineConfiguration

Konfiguracja, na której opiera się gramatyka i zachowania analizatora.

Wyjątki

Dotyczy