System.CommandLine.Parsing Namespace
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.
Classes
ArgumentResult |
A result produced when parsing an Argument. |
CommandLineStringSplitter |
Splits a string based on whitespace and quotation marks |
CommandResult |
A result produced when parsing a Command. |
OptionResult |
A result produced when parsing an Option. |
ParseError |
Describes an error that occurs while parsing command line input. |
Parser |
Parses command line input. |
ParseResult |
Describes the results of parsing a command line input based on a specific parser configuration. |
ParseResultExtensions |
Provides extension methods for parse results. |
ParserExtensions |
Provides extension methods for parsers. |
SymbolResult |
A result produced during parsing for a specific symbol. |
TokenizeError |
Describes an error that occurs while tokenizing command line input. |
Structs
Token |
A unit of significant text on the command line. |
Enums
ResponseFileHandling |
Specifies settings for response file parsing. |
TokenType |
Identifies the type of a Token. |
Delegates
ParseArgument<T> |
Performs custom parsing of an argument. |
ValidateSymbolResult<T> |
A delegate used to validate symbol results during parsing. |
Commenti e suggerimenti
https://aka.ms/ContentUserFeedback.
Presto disponibile: Nel corso del 2024 verranno gradualmente disattivati i problemi di GitHub come meccanismo di feedback per il contenuto e ciò verrà sostituito con un nuovo sistema di feedback. Per altre informazioni, vedereInvia e visualizza il feedback per