Skip to content

API V2.6.0

Moh.Hassan edited this page Oct 10, 2019 · 1 revision

CommandLine Namespace

Classes

 

Class Description
Public class BadFormatConversionError Models an error generated when a value conversion fails.
Public class BadFormatTokenError Models an error generated when an invalid token is detected.
Public class BadVerbSelectedError Models an error generated when an unknown verb is detected.
Public class BaseAttribute Models a base attribute to define command line syntax.
Public class Error Base type of all errors.
Protected class ErrorExtensions
Public class HelpRequestedError Models an error generated when a user explicitly requests help.
Public class HelpTextExtensions
Public class HelpVerbRequestedError Models an error generated when a user explicitly requests help in verb commands scenario.
Public class InvalidAttributeConfigurationError Models an error generated when an invalid token is detected.
Public class MissingRequiredOptionError Models an error generated when a required option is required.
Public class MissingValueOptionError Models an error generated when an option lacks its value.
Public class MutuallyExclusiveSetError Models an error generated when a an option from another set is defined.
Public class NamedError Base type of all erros with name information.
Public class NameInfo Models name information, used in Error instances.
Public class NotParsed(T) It contains a sequence of Error.
Public class NoVerbSelectedError Models an error generated when no verb is selected.
Public class NullInstance Models a null result when constructing a ParserResult(T) in a faling verbs scenario.
Public class OptionAttribute Models an option specification.
Public class Parsed(T) It contains an instance of type T with parsed values.
Public class Parser Provides methods to parse command line arguments.
Public class ParserExtensions Defines generic overloads for ParseArguments(IEnumerable(String), Type[]).
Public class ParserResult(T) Models a parser result. When inherited by Parsed(T), it contains an instance of type T with parsed values. When inherited by NotParsed(T), it contains a sequence of Error.
Public class ParserResultExtensions Provides convenience extension methods for ParserResult(T).
Public class ParserSettings Provides settings for Parser. Once consumed cannot be reused.
Public class RepeatedOptionError Models an error generated when an option is repeated two or more times.
Public class SequenceOutOfRangeError Models an error generated when a sequence value lacks elements.
Public class SetValueExceptionError Models as error generated when exception is thrown at Property.SetValue
Public class TokenError Base type of all errors related to bad token detection.
Public class TypeInfo
Public class UnknownOptionError Models an error generated when an unknown option is detected.
Public class UnParserExtensions Provides overloads to unparse options instance.
Public class UnParserSettings Provides settings for when formatting command line from an options instance../>.
Public class ValueAttribute Models an value specification, or better how to handle values not bound to options.
Public class VerbAttribute Models a verb command specification.
Public class VersionRequestedError Models an error generated when a user explicitly requests version.

Enumerations

 

Enumeration Description
Public enumeration ErrorType Discriminator enumeration of Error derivates.
Public enumeration ParserResultType Discriminator enumeration of ParserResultType derivates.
 
Clone this wiki locally