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. |
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應