編輯

共用方式為


System.CommandLine.Parsing Namespace

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.