CommandLine
Models a base attribute to define command line syntax.
Initializes a new instance of the class.
Gets or sets a value indicating whether a command line option is required.
When applied to properties defines
the lower range of items.
If not set, no lower range is enforced.
When applied to properties defines
the upper range of items.
If not set, no upper range is enforced.
Gets or sets mapped property default value.
Gets or sets a short description of this command line option. Usually a sentence summary.
Gets or sets mapped property meta value. Usually an uppercase hint of required value type.
Gets or sets a value indicating whether a command line option is visible in the help text.
Gets or sets the that contains the resources for .
This information is denormalized to decouple Specification from PropertyInfo.
Discriminator enumeration of derivates.
Value of type.
Value of type.
Value of type.
Value of type.
Value of type.
Value of type.
Value of type.
Value of type.
Value of type.
Value of type.
Value of type.
Value of type.
Value of type.
Value of type.
Value of type.
Value of type.
Value of type.
Value of type.
Base type of all errors.
All errors are defined within the system. There's no reason to create custom derivate types.
Initializes a new instance of the class.
Type discriminator tag.
Tells if error stops parsing process.
Initializes a new instance of the class.
Type discriminator tag.
Error type discriminator, defined as enumeration.
Tells if error stops parsing process.
Filtered by .
Determines whether the specified is equal to the current .
The to compare with the current .
true if the specified is equal to the current ; otherwise, false.
Serves as a hash function for a particular type.
A hash code for the current .
Returns a value that indicates whether the current instance and a specified have the same value.
The instance to compare.
true if this instance of and have the same value; otherwise, false.
Base type of all errors related to bad token detection.
Initializes a new instance of the class.
Error type.
Problematic token.
The string containing the token text.
Determines whether the specified is equal to the current .
The to compare with the current .
true if the specified is equal to the current ; otherwise, false.
Serves as a hash function for a particular type.
A hash code for the current .
Returns a value that indicates whether the current instance and a specified have the same value.
The instance to compare.
true if this instance of and have the same value; otherwise, false.
Models an error generated when an invalid token is detected.
Base type of all erros with name information.
Initializes a new instance of the class.
Error type.
Problematic name.
Name information relative to this error instance.
Determines whether the specified is equal to the current .
The to compare with the current .
true if the specified is equal to the current ; otherwise, false.
Serves as a hash function for a particular type.
A hash code for the current .
Returns a value that indicates whether the current instance and a specified have the same value.
The instance to compare.
true if this instance of and have the same value; otherwise, false.
Models an error generated when an option lacks its value.
Models an error generated when an unknown option is detected.
Models an error generated when a required option is required.
Models an error generated when a an option from another set is defined.
Option's set name.
Models an error generated when a value conversion fails.
Models an error generated when a sequence value lacks elements.
Models an error generated when an option is repeated two or more times.
Models an error generated when an unknown verb is detected.
Models an error generated when a user explicitly requests help.
Models an error generated when a user explicitly requests help in verb commands scenario.
Verb command string.
of verb command.
true if verb command is found; otherwise false.
Models an error generated when no verb is selected.
Models an error generated when a user explicitly requests version.
Models as error generated when exception is thrown at Property.SetValue
The expection thrown from Property.SetValue
The value that had to be set to the property
Models an error generated when an invalid token is detected.
Models an error generated when multiple default verbs are defined.
return true when errors contain HelpXXXError
return true when errors contain VersionXXXError
redirect errs to Console.Error, and to Console.Out for help/version error
Breaks a collection into groups of a specified size.
A collection of .
The number of items each group shall contain.
An enumeration of T[].
An incomplete group at the end of the source collection will be silently dropped.
Per thread assembly attribute overrides for testing.
Assembly attribute overrides for testing.
The implementation will fail if two or more attributes of the same type
are included in .
Attributes that replace the existing assembly attributes or null,
to clear any testing attributes.
Indicates whether the string value of a
starts with the input parameter. Returns false if either
the StringBuilder or input string is null or empty.
The to test.
The to look for.
Indicates whether the string value of a
ends with the input parameter. Returns false if either
the StringBuilder or input string is null or empty.
The to test.
The to look for.
Models name information, used in instances.
Represents an empty name information. Used when are tied to values,
rather than options.
Gets the short name of the name information.
Gets the long name of the name information.
Gets a formatted text with unified name information.
Determines whether the specified is equal to the current .
The to compare with the current .
true if the specified is equal to the current ; otherwise, false.
Serves as a hash function for a particular type.
A hash code for the current .
Returns a value that indicates whether the current instance and a specified have the same value.
The instance to compare.
true if this instance of and have the same value; otherwise, false.
Models a null result when constructing a in a faling verbs scenario.
Models an option specification.
Initializes a new instance of the class.
The default long name will be inferred from target property.
Initializes a new instance of the class.
The long name of the option.
Initializes a new instance of the class.
The short name of the option.
The long name of the option or null if not used.
Initializes a new instance of the class.
The short name of the option..
Gets long name of this command line option. This name is usually a single english word.
Gets a short name of this command line option, made of one character.
Gets or sets the option's mutually exclusive set name.
When applying attribute to target properties,
it allows you to split an argument and consume its content as a sequence.
Gets or sets the option group name. When one or more options are grouped, at least one of them should have value. Required rules are ignored.
Provides methods to parse command line arguments.
Initializes a new instance of the class.
Initializes a new instance of the class,
configurable with using a delegate.
The delegate used to configure
aspects and behaviors of the parser.
Finalizes an instance of the class.
Gets the singleton instance created with basic defaults.
Gets the instance that implements in use.
Parses a string array of command line arguments constructing values in an instance of type .
Grammar rules are defined decorating public properties with appropriate attributes.
Type of the target instance built with parsed value.
A array of command line arguments, normally supplied by application entry point.
A containing an instance of type with parsed values
and a sequence of .
Thrown if one or more arguments are null.
Parses a string array of command line arguments constructing values in an instance of type .
Grammar rules are defined decorating public properties with appropriate attributes.
Type of the target instance built with parsed value.
A delegate used to initialize the target instance.
A array of command line arguments, normally supplied by application entry point.
A containing an instance of type with parsed values
and a sequence of .
Thrown if one or more arguments are null.
Parses a string array of command line arguments for verb commands scenario, constructing the proper instance from the array of types supplied by .
Grammar rules are defined decorating public properties with appropriate attributes.
The must be applied to types in the array.
A array of command line arguments, normally supplied by application entry point.
A array used to supply verb alternatives.
A containing the appropriate instance with parsed values as a
and a sequence of .
Thrown if one or more arguments are null.
Thrown if array is empty.
All types must expose a parameterless constructor. It's strongly recommended to use a generic overload.
Frees resources owned by the instance.
Defines generic overloads for .
Parses a string array of command line arguments for verb commands scenario, constructing the proper instance from types as generic arguments.
Grammar rules are defined decorating public properties with appropriate attributes.
The must be applied to types in the array.
The type of the first verb.
The type of the second verb.
A instance.
A array of command line arguments, normally supplied by application entry point.
A containing the appropriate instance with parsed values as a
and a sequence of .
Thrown if one or more arguments are null.
All types must expose a parameterless constructor.
Parses a string array of command line arguments for verb commands scenario, constructing the proper instance from types as generic arguments.
Grammar rules are defined decorating public properties with appropriate attributes.
The must be applied to types in the array.
The type of the first verb.
The type of the second verb.
The type of the third verb.
A instance.
A array of command line arguments, normally supplied by application entry point.
A containing the appropriate instance with parsed values as a
and a sequence of .
Thrown if one or more arguments are null.
All types must expose a parameterless constructor.
Parses a string array of command line arguments for verb commands scenario, constructing the proper instance from types as generic arguments.
Grammar rules are defined decorating public properties with appropriate attributes.
The must be applied to types in the array.
The type of the first verb.
The type of the second verb.
The type of the third verb.
The type of the fourth verb.
A instance.
A array of command line arguments, normally supplied by application entry point.
A containing the appropriate instance with parsed values as a
and a sequence of .
Thrown if one or more arguments are null.
All types must expose a parameterless constructor.
Parses a string array of command line arguments for verb commands scenario, constructing the proper instance from types as generic arguments.
Grammar rules are defined decorating public properties with appropriate attributes.
The must be applied to types in the array.
The type of the first verb.
The type of the second verb.
The type of the third verb.
The type of the fourth verb.
The type of the fifth verb.
A instance.
A array of command line arguments, normally supplied by application entry point.
A containing the appropriate instance with parsed values as a
and a sequence of .
Thrown if one or more arguments are null.
All types must expose a parameterless constructor.
Parses a string array of command line arguments for verb commands scenario, constructing the proper instance from types as generic arguments.
Grammar rules are defined decorating public properties with appropriate attributes.
The must be applied to types in the array.
The type of the first verb.
The type of the second verb.
The type of the third verb.
The type of the fourth verb.
The type of the fifth verb.
The type of the sixth verb.
A instance.
A array of command line arguments, normally supplied by application entry point.
A containing the appropriate instance with parsed values as a
and a sequence of .
Thrown if one or more arguments are null.
All types must expose a parameterless constructor.
Parses a string array of command line arguments for verb commands scenario, constructing the proper instance from types as generic arguments.
Grammar rules are defined decorating public properties with appropriate attributes.
The must be applied to types in the array.
The type of the first verb.
The type of the second verb.
The type of the third verb.
The type of the fourth verb.
The type of the fifth verb.
The type of the sixth verb.
The type of the seventh verb.
A instance.
A array of command line arguments, normally supplied by application entry point.
A containing the appropriate instance with parsed values as a
and a sequence of .
Thrown if one or more arguments are null.
All types must expose a parameterless constructor.
Parses a string array of command line arguments for verb commands scenario, constructing the proper instance from types as generic arguments.
Grammar rules are defined decorating public properties with appropriate attributes.
The must be applied to types in the array.
The type of the first verb.
The type of the second verb.
The type of the third verb.
The type of the fourth verb.
The type of the fifth verb.
The type of the sixth verb.
The type of the seventh verb.
The type of the eighth verb.
A instance.
A array of command line arguments, normally supplied by application entry point.
A containing the appropriate instance with parsed values as a
and a sequence of .
Thrown if one or more arguments are null.
All types must expose a parameterless constructor.
Parses a string array of command line arguments for verb commands scenario, constructing the proper instance from types as generic arguments.
Grammar rules are defined decorating public properties with appropriate attributes.
The must be applied to types in the array.
The type of the first verb.
The type of the second verb.
The type of the third verb.
The type of the fourth verb.
The type of the fifth verb.
The type of the sixth verb.
The type of the seventh verb.
The type of the eighth verb.
The type of the ninth verb.
A instance.
A array of command line arguments, normally supplied by application entry point.
A containing the appropriate instance with parsed values as a
and a sequence of .
Thrown if one or more arguments are null.
All types must expose a parameterless constructor.
Parses a string array of command line arguments for verb commands scenario, constructing the proper instance from types as generic arguments.
Grammar rules are defined decorating public properties with appropriate attributes.
The must be applied to types in the array.
The type of the first verb.
The type of the second verb.
The type of the third verb.
The type of the fourth verb.
The type of the fifth verb.
The type of the sixth verb.
The type of the seventh verb.
The type of the eighth verb.
The type of the ninth verb.
The type of the tenth verb.
A instance.
A array of command line arguments, normally supplied by application entry point.
A containing the appropriate instance with parsed values as a
and a sequence of .
Thrown if one or more arguments are null.
All types must expose a parameterless constructor.
Parses a string array of command line arguments for verb commands scenario, constructing the proper instance from types as generic arguments.
Grammar rules are defined decorating public properties with appropriate attributes.
The must be applied to types in the array.
The type of the first verb.
The type of the second verb.
The type of the third verb.
The type of the fourth verb.
The type of the fifth verb.
The type of the sixth verb.
The type of the seventh verb.
The type of the eighth verb.
The type of the ninth verb.
The type of the tenth verb.
The type of the eleventh verb.
A instance.
A array of command line arguments, normally supplied by application entry point.
A containing the appropriate instance with parsed values as a
and a sequence of .
Thrown if one or more arguments are null.
All types must expose a parameterless constructor.
Parses a string array of command line arguments for verb commands scenario, constructing the proper instance from types as generic arguments.
Grammar rules are defined decorating public properties with appropriate attributes.
The must be applied to types in the array.
The type of the first verb.
The type of the second verb.
The type of the third verb.
The type of the fourth verb.
The type of the fifth verb.
The type of the sixth verb.
The type of the seventh verb.
The type of the eighth verb.
The type of the ninth verb.
The type of the tenth verb.
The type of the eleventh verb.
The type of the twelfth verb.
A instance.
A array of command line arguments, normally supplied by application entry point.
A containing the appropriate instance with parsed values as a
and a sequence of .
Thrown if one or more arguments are null.
All types must expose a parameterless constructor.
Parses a string array of command line arguments for verb commands scenario, constructing the proper instance from types as generic arguments.
Grammar rules are defined decorating public properties with appropriate attributes.
The must be applied to types in the array.
The type of the first verb.
The type of the second verb.
The type of the third verb.
The type of the fourth verb.
The type of the fifth verb.
The type of the sixth verb.
The type of the seventh verb.
The type of the eighth verb.
The type of the ninth verb.
The type of the tenth verb.
The type of the eleventh verb.
The type of the twelfth verb.
The type of the thirteenth verb.
A instance.
A array of command line arguments, normally supplied by application entry point.
A containing the appropriate instance with parsed values as a
and a sequence of .
Thrown if one or more arguments are null.
All types must expose a parameterless constructor.
Parses a string array of command line arguments for verb commands scenario, constructing the proper instance from types as generic arguments.
Grammar rules are defined decorating public properties with appropriate attributes.
The must be applied to types in the array.
The type of the first verb.
The type of the second verb.
The type of the third verb.
The type of the fourth verb.
The type of the fifth verb.
The type of the sixth verb.
The type of the seventh verb.
The type of the eighth verb.
The type of the ninth verb.
The type of the tenth verb.
The type of the eleventh verb.
The type of the twelfth verb.
The type of the thirteenth verb.
The type of the fourteenth verb.
A instance.
A array of command line arguments, normally supplied by application entry point.
A containing the appropriate instance with parsed values as a
and a sequence of .
Thrown if one or more arguments are null.
All types must expose a parameterless constructor.
Parses a string array of command line arguments for verb commands scenario, constructing the proper instance from types as generic arguments.
Grammar rules are defined decorating public properties with appropriate attributes.
The must be applied to types in the array.
The type of the first verb.
The type of the second verb.
The type of the third verb.
The type of the fourth verb.
The type of the fifth verb.
The type of the sixth verb.
The type of the seventh verb.
The type of the eighth verb.
The type of the ninth verb.
The type of the tenth verb.
The type of the eleventh verb.
The type of the twelfth verb.
The type of the thirteenth verb.
The type of the fourteenth verb.
The type of the fifteenth verb.
A instance.
A array of command line arguments, normally supplied by application entry point.
A containing the appropriate instance with parsed values as a
and a sequence of .
Thrown if one or more arguments are null.
All types must expose a parameterless constructor.
Parses a string array of command line arguments for verb commands scenario, constructing the proper instance from types as generic arguments.
Grammar rules are defined decorating public properties with appropriate attributes.
The must be applied to types in the array.
The type of the first verb.
The type of the second verb.
The type of the third verb.
The type of the fourth verb.
The type of the fifth verb.
The type of the sixth verb.
The type of the seventh verb.
The type of the eighth verb.
The type of the ninth verb.
The type of the tenth verb.
The type of the eleventh verb.
The type of the twelfth verb.
The type of the thirteenth verb.
The type of the fourteenth verb.
The type of the fifteenth verb.
The type of the sixteenth verb.
A instance.
A array of command line arguments, normally supplied by application entry point.
A containing the appropriate instance with parsed values as a
and a sequence of .
Thrown if one or more arguments are null.
All types must expose a parameterless constructor.
Discriminator enumeration of derivates.
Value of type.
Value of type.
Models a parser result. When inherited by , it contains an instance of type
with parsed values.
When inherited by , it contains a sequence of .
The type with attributes that define the syntax of parsing rules.
Parser result type discriminator, defined as enumeration.
It contains an instance of type with parsed values.
The type with attributes that define the syntax of parsing rules.
Gets the instance with parsed values.
Determines whether the specified is equal to the current .
The to compare with the current .
true if the specified is equal to the current ; otherwise, false.
Serves as a hash function for a particular type.
A hash code for the current .
Returns a value that indicates whether the current instance and a specified have the same value.
The instance to compare.
true if this instance of and have the same value; otherwise, false.
It contains a sequence of .
The type with attributes that define the syntax of parsing rules.
Gets the sequence of parsing errors.
Determines whether the specified is equal to the current .
The to compare with the current .
true if the specified is equal to the current ; otherwise, false.
Serves as a hash function for a particular type.
A hash code for the current .
Returns a value that indicates whether the current instance and a specified have the same value.
The instance to compare.
true if this instance of and have the same value; otherwise, false.
Provides convenience extension methods for .
Executes if contains
parsed values.
Type of the target instance built with parsed value.
An instance.
The to execute.
The same instance.
Executes if parsed values are of .
Type of the target instance built with parsed value.
An verb result instance.
The to execute.
The same instance.
Executes if lacks
parsed values and contains errors.
Type of the target instance built with parsed value.
An instance.
The delegate to execute.
The same instance.
Provides a way to transform result data into another value.
Type of the target instance built with parsed value.
The type of the new value.
An instance.
Lambda executed on successful parsing.
Lambda executed on failed parsing.
The new value.
Provides a way to transform result data into another value.
First verb type.
The result in verb scenario.
Lambda executed on successful parsing of .
Lambda executed on failed parsing.
The new value.
Provides a way to transform result data into another value.
First verb type.
Second verb type.
The result in verb scenario.
Lambda executed on successful parsing of .
Lambda executed on successful parsing of .
Lambda executed on failed parsing.
The new value.
Provides a way to transform result data into another value.
First verb type.
Second verb type.
Third verb type.
The result in verb scenario.
Lambda executed on successful parsing of .
Lambda executed on successful parsing of .
Lambda executed on successful parsing of .
Lambda executed on failed parsing.
The new value.
Provides a way to transform result data into another value.
First verb type.
Second verb type.
Third verb type.
Fourth verb type.
The result in verb scenario.
Lambda executed on successful parsing of .
Lambda executed on successful parsing of .
Lambda executed on successful parsing of .
Lambda executed on successful parsing of .
Lambda executed on failed parsing.
The new value.
Provides a way to transform result data into another value.
First verb type.
Second verb type.
Third verb type.
Fourth verb type.
Fifth verb type.
The result in verb scenario.
Lambda executed on successful parsing of .
Lambda executed on successful parsing of .
Lambda executed on successful parsing of .
Lambda executed on successful parsing of .
Lambda executed on successful parsing of .
Lambda executed on failed parsing.
The new value.
Provides a way to transform result data into another value.
First verb type.
Second verb type.
Third verb type.
Fourth verb type.
Fifth verb type.
Sixth verb type.
The result in verb scenario.
Lambda executed on successful parsing of .
Lambda executed on successful parsing of .
Lambda executed on successful parsing of .
Lambda executed on successful parsing of .
Lambda executed on successful parsing of .
Lambda executed on successful parsing of .
Lambda executed on failed parsing.
The new value.
Provides a way to transform result data into another value.
First verb type.
Second verb type.
Third verb type.
Fourth verb type.
Fifth verb type.
Sixth verb type.
Seventh verb type.
The result in verb scenario.
Lambda executed on successful parsing of .
Lambda executed on successful parsing of .
Lambda executed on successful parsing of .
Lambda executed on successful parsing of .
Lambda executed on successful parsing of .
Lambda executed on successful parsing of .
Lambda executed on successful parsing of .
Lambda executed on failed parsing.
The new value.
Provides a way to transform result data into another value.
First verb type.
Second verb type.
Third verb type.
Fourth verb type.
Fifth verb type.
Sixth verb type.
Seventh verb type.
Eighth verb type.
The result in verb scenario.
Lambda executed on successful parsing of .
Lambda executed on successful parsing of .
Lambda executed on successful parsing of .
Lambda executed on successful parsing of .
Lambda executed on successful parsing of .
Lambda executed on successful parsing of .
Lambda executed on successful parsing of .
Lambda executed on successful parsing of .
Lambda executed on failed parsing.
The new value.
Provides a way to transform result data into another value.
First verb type.
Second verb type.
Third verb type.
Fourth verb type.
Fifth verb type.
Sixth verb type.
Seventh verb type.
Eighth verb type.
Ninth verb type.
The result in verb scenario.
Lambda executed on successful parsing of .
Lambda executed on successful parsing of .
Lambda executed on successful parsing of .
Lambda executed on successful parsing of .
Lambda executed on successful parsing of .
Lambda executed on successful parsing of .
Lambda executed on successful parsing of .
Lambda executed on successful parsing of .
Lambda executed on successful parsing of .
Lambda executed on failed parsing.
The new value.
Provides a way to transform result data into another value.
First verb type.
Second verb type.
Third verb type.
Fourth verb type.
Fifth verb type.
Sixth verb type.
Seventh verb type.
Eighth verb type.
Ninth verb type.
Tenth verb type.
The result in verb scenario.
Lambda executed on successful parsing of .
Lambda executed on successful parsing of .
Lambda executed on successful parsing of .
Lambda executed on successful parsing of .
Lambda executed on successful parsing of .
Lambda executed on successful parsing of .
Lambda executed on successful parsing of .
Lambda executed on successful parsing of .
Lambda executed on successful parsing of .
Lambda executed on successful parsing of .
Lambda executed on failed parsing.
The new value.
Provides a way to transform result data into another value.
First verb type.
Second verb type.
Third verb type.
Fourth verb type.
Fifth verb type.
Sixth verb type.
Seventh verb type.
Eighth verb type.
Ninth verb type.
Tenth verb type.
Eleventh verb type.
The result in verb scenario.
Lambda executed on successful parsing of .
Lambda executed on successful parsing of .
Lambda executed on successful parsing of .
Lambda executed on successful parsing of .
Lambda executed on successful parsing of .
Lambda executed on successful parsing of .
Lambda executed on successful parsing of .
Lambda executed on successful parsing of .
Lambda executed on successful parsing of .
Lambda executed on successful parsing of .
Lambda executed on successful parsing of .
Lambda executed on failed parsing.
The new value.
Provides a way to transform result data into another value.
First verb type.
Second verb type.
Third verb type.
Fourth verb type.
Fifth verb type.
Sixth verb type.
Seventh verb type.
Eighth verb type.
Ninth verb type.
Tenth verb type.
Eleventh verb type.
Twelfth verb type.
The result in verb scenario.
Lambda executed on successful parsing of .
Lambda executed on successful parsing of .
Lambda executed on successful parsing of .
Lambda executed on successful parsing of .
Lambda executed on successful parsing of .
Lambda executed on successful parsing of .
Lambda executed on successful parsing of .
Lambda executed on successful parsing of .
Lambda executed on successful parsing of .
Lambda executed on successful parsing of .
Lambda executed on successful parsing of .
Lambda executed on successful parsing of .
Lambda executed on failed parsing.
The new value.
Provides a way to transform result data into another value.
First verb type.
Second verb type.
Third verb type.
Fourth verb type.
Fifth verb type.
Sixth verb type.
Seventh verb type.
Eighth verb type.
Ninth verb type.
Tenth verb type.
Eleventh verb type.
Twelfth verb type.
Thirteenth verb type.
The result in verb scenario.
Lambda executed on successful parsing of .
Lambda executed on successful parsing of .
Lambda executed on successful parsing of .
Lambda executed on successful parsing of .
Lambda executed on successful parsing of .
Lambda executed on successful parsing of .
Lambda executed on successful parsing of .
Lambda executed on successful parsing of .
Lambda executed on successful parsing of .
Lambda executed on successful parsing of .
Lambda executed on successful parsing of .
Lambda executed on successful parsing of .
Lambda executed on successful parsing of .
Lambda executed on failed parsing.
The new value.
Provides a way to transform result data into another value.
First verb type.
Second verb type.
Third verb type.
Fourth verb type.
Fifth verb type.
Sixth verb type.
Seventh verb type.
Eighth verb type.
Ninth verb type.
Tenth verb type.
Eleventh verb type.
Twelfth verb type.
Thirteenth verb type.
Fourteenth verb type.
The result in verb scenario.
Lambda executed on successful parsing of .
Lambda executed on successful parsing of .
Lambda executed on successful parsing of .
Lambda executed on successful parsing of .
Lambda executed on successful parsing of .
Lambda executed on successful parsing of .
Lambda executed on successful parsing of .
Lambda executed on successful parsing of .
Lambda executed on successful parsing of .
Lambda executed on successful parsing of .
Lambda executed on successful parsing of .
Lambda executed on successful parsing of .
Lambda executed on successful parsing of .
Lambda executed on successful parsing of .
Lambda executed on failed parsing.
The new value.
Provides a way to transform result data into another value.
First verb type.
Second verb type.
Third verb type.
Fourth verb type.
Fifth verb type.
Sixth verb type.
Seventh verb type.
Eighth verb type.
Ninth verb type.
Tenth verb type.
Eleventh verb type.
Twelfth verb type.
Thirteenth verb type.
Fourteenth verb type.
Fifteenth verb type.
The result in verb scenario.
Lambda executed on successful parsing of .
Lambda executed on successful parsing of .
Lambda executed on successful parsing of .
Lambda executed on successful parsing of .
Lambda executed on successful parsing of .
Lambda executed on successful parsing of .
Lambda executed on successful parsing of .
Lambda executed on successful parsing of .
Lambda executed on successful parsing of .
Lambda executed on successful parsing of .
Lambda executed on successful parsing of .
Lambda executed on successful parsing of .
Lambda executed on successful parsing of .
Lambda executed on successful parsing of .
Lambda executed on successful parsing of .
Lambda executed on failed parsing.
The new value.
Provides a way to transform result data into another value.
First verb type.
Second verb type.
Third verb type.
Fourth verb type.
Fifth verb type.
Sixth verb type.
Seventh verb type.
Eighth verb type.
Ninth verb type.
Tenth verb type.
Eleventh verb type.
Twelfth verb type.
Thirteenth verb type.
Fourteenth verb type.
Fifteenth verb type.
Sixteenth verb type.
The result in verb scenario.
Lambda executed on successful parsing of .
Lambda executed on successful parsing of .
Lambda executed on successful parsing of .
Lambda executed on successful parsing of .
Lambda executed on successful parsing of .
Lambda executed on successful parsing of .
Lambda executed on successful parsing of .
Lambda executed on successful parsing of .
Lambda executed on successful parsing of .
Lambda executed on successful parsing of .
Lambda executed on successful parsing of .
Lambda executed on successful parsing of .
Lambda executed on successful parsing of .
Lambda executed on successful parsing of .
Lambda executed on successful parsing of .
Lambda executed on successful parsing of .
Lambda executed on failed parsing.
The new value.
Executes asynchronously if contains
parsed values.
Type of the target instance built with parsed value.
An instance.
The to execute.
The same instance as a instance.
Executes asynchronously if parsed values are of .
Type of the target instance built with parsed value.
An verb result instance.
The to execute.
The same instance as a instance.
Executes asynchronously if lacks
parsed values and contains errors.
Type of the target instance built with parsed value.
An instance.
The delegate to execute.
The same instance as a instance.
Provides settings for . Once consumed cannot be reused.
Initializes a new instance of the class.
Finalizes an instance of the class.
Gets or sets a value indicating whether perform case sensitive comparisons.
Note that case insensitivity only applies to parameters, not the values
assigned to them (for example, enum parsing).
Gets or sets a value indicating whether perform case sensitive comparisons of values.
Note that case insensitivity only applies to values, not the parameters.
Gets or sets the culture used when parsing arguments to typed properties.
Default is invariant culture, .
Gets or sets the used for help method output.
Setting this property to null, will disable help screen.
It is the caller's responsibility to dispose or close the .
Gets or sets a value indicating whether the parser shall move on to the next argument and ignore the given argument if it
encounter an unknown arguments
true to allow parsing the arguments with different class options that do not have all the arguments.
This allows fragmented version class parsing, useful for project with add-on where add-ons also requires command line arguments but
when these are unknown by the main program at build time.
Gets or sets a value indicating whether implicit option or verb 'help' should be supported.
Gets or sets a value indicating whether implicit option or verb 'version' should be supported.
Gets or sets a value indicating whether enable double dash '--' syntax,
that forces parsing of all subsequent tokens as values.
Gets or sets the maximum width of the display. This determines word wrap when displaying the text.
Frees resources owned by the instance.
Models a multiline assembly license text.
Initializes a new instance of the class
with one line of text.
First line of license text.
Initializes a new instance of the class
with two lines of text.
First line of license text.
Second line of license text.
Initializes a new instance of the class
with three lines of text.
First line of license text.
Second line of license text.
Third line of license text.
Initializes a new instance of the class
with four lines of text.
First line of license text.
Second line of license text.
Third line of license text.
Fourth line of license text.
Initializes a new instance of the class
with five lines of text.
First line of license text.
Second line of license text.
Third line of license text.
Fourth line of license text.
Fifth line of license text.
Models a multiline assembly usage text.
Initializes a new instance of the class
with one line of text.
First line of usage text.
Initializes a new instance of the class
with two lines of text.
First line of usage text.
Second line of usage text.
Initializes a new instance of the class
with three lines of text.
First line of usage text.
Second line of usage text.
Third line of usage text.
Initializes a new instance of the class
with four lines of text.
First line of usage text.
Second line of usage text.
Third line of usage text.
Fourth line of usage text.
Initializes a new instance of the class
with five lines of text.
First line of usage text.
Second line of usage text.
Third line of usage text.
Fourth line of usage text.
Fifth line of usage text.
Models the copyright part of an help text.
You can assign it where you assign any instance.
An empty object used for initialization.
Initializes a new instance of the class
specifying author and year.
The company or person holding the copyright.
The year of coverage of copyright.
Thrown when parameter is null or empty string.
Initializes a new instance of the class
specifying author and copyrightYears.
The company or person holding the copyright.
The copyrightYears of coverage of copyright.
Thrown when parameter is null or empty string.
Thrown when parameter is not supplied.
Initializes a new instance of the class
specifying symbol case, author and copyrightYears.
The case of the copyright symbol.
The company or person holding the copyright.
The copyrightYears of coverage of copyright.
Thrown when parameter is null or empty string.
Thrown when parameter is not supplied.
Initializes a new instance of the class.
Initializes a new instance of the class
with an assembly attribute, this overrides all formatting.
The attribute which text to use.
Gets the default copyright information.
Retrieved from , if it exists,
otherwise it uses as copyright holder with the current year.
If neither exists it throws an .
Gets a different copyright word when overridden in a derived class.
Converts the copyright instance to a .
This instance.
The that contains the copyright.
Returns the copyright as a .
The that contains the copyright.
When overridden in a derived class, allows to specify a new algorithm to render copyright copyrightYears
as a instance.
A array of copyrightYears.
A instance with copyright copyrightYears.
Models a command line usage example.
Initializes a new instance of the class.
Example description.
A instances sequence that defines command line arguments format.
A sample instance.
Initializes a new instance of the class.
Example description.
A instance that defines command line arguments format.
A sample instance.
Initializes a new instance of the class.
Example description.
A sample instance.
Example description.
A sequence of format styles.
A sample instance.
Determines whether the specified is equal to the current .
The to compare with the current .
true if the specified is equal to the current ; otherwise, false.
Serves as a hash function for a particular type.
A hash code for the current .
Returns a value that indicates whether the current instance and a specified have the same value.
The instance to compare.
true if this instance of and have the same value; otherwise, false.
Models the heading part of an help text.
You can assign it where you assign any instance.
Initializes a new instance of the class
specifying program name and version.
The name of the program.
The version of the program.
Thrown when parameter is null or empty string.
An empty object used for initialization.
Gets the default heading instance.
The title is retrieved from ,
or the assembly short name if its not defined.
The version is retrieved from ,
or the assembly version if its not defined.
Converts the heading to a .
This instance.
The that contains the heading.
Returns the heading as a .
The that contains the heading.
Writes out a string and a new line using the program name specified in the constructor
and parameter.
The message to write.
The target derived type.
Thrown when parameter is null or empty string.
Thrown when parameter is null.
Writes out a string and a new line using the program name specified in the constructor
and parameter to standard output stream.
The message to write.
Thrown when parameter is null or empty string.
Writes out a string and a new line using the program name specified in the constructor
and parameter to standard error stream.
The message to write.
Thrown when parameter is null or empty string.
Provides means to format an help screen.
You can assign it in place of a instance.
The number of spaces between an option and its associated help text
The width of the option prefix (either "--" or " "
The total amount of extra space that needs to accounted for when indenting Option help text
Initializes a new instance of the class.
Initializes a new instance of the class
specifying the sentence builder.
A instance.
Initializes a new instance of the class
specifying heading string.
An heading string or an instance of .
Thrown when parameter is null or empty string.
Initializes a new instance of the class
specifying the sentence builder and heading string.
A instance.
A string with heading or an instance of .
Initializes a new instance of the class
specifying heading and copyright strings.
A string with heading or an instance of .
A string with copyright or an instance of .
Thrown when one or more parameters are null or empty strings.
Initializes a new instance of the class
specifying heading and copyright strings.
A instance.
A string with heading or an instance of .
A string with copyright or an instance of .
Thrown when one or more parameters are null or empty strings.
Gets or sets the heading string.
You can directly assign a instance.
Gets or sets the copyright string.
You can directly assign a instance.
Gets or sets the maximum width of the display. This determines word wrap when displaying the text.
The maximum width of the display.
Gets or sets a value indicating whether the format of options should contain dashes.
It modifies behavior of method.
Gets or sets a value indicating whether to add an additional line after the description of the specification.
Gets or sets a value indicating whether to add newlines between help sections.
Gets or sets a value indicating whether to add the values of an enum after the description of the specification.
Gets or sets a value indicating whether implicit option or verb 'help' should be supported.
Gets or sets a value indicating whether implicit option or verb 'version' should be supported.
Gets the instance specified in constructor.
Creates a new instance of the class using common defaults.
An instance of class.
The containing the instance that collected command line arguments parsed with class.
A delegate used to customize the text block of reporting parsing errors text block.
A delegate used to customize model used to render text block of usage examples.
If true the output style is consistent with verb commands (no dashes), otherwise it outputs options.
The maximum width of the display.
The parameter is not ontly a metter of formatting, it controls whether to handle verbs or options.
Creates a default instance of the class,
automatically handling verbs or options scenario.
The containing the instance that collected command line arguments parsed with class.
The maximum width of the display.
An instance of class.
This feature is meant to be invoked automatically by the parser, setting the HelpWriter property
of .
Creates a custom instance of the class,
automatically handling verbs or options scenario.
The containing the instance that collected command line arguments parsed with class.
A delegate used to customize the text block of reporting parsing errors text block.
The maximum width of the display.
An instance of class.
This feature is meant to be invoked automatically by the parser, setting the HelpWriter property
of .
Supplies a default parsing error handler implementation.
The containing the instance that collected command line arguments parsed with class.
The instance.
Converts the help instance to a .
This instance.
The that contains the help screen.
Adds a text line after copyright and before options usage strings.
A instance.
Updated instance.
Thrown when parameter is null or empty string.
Adds a text line at the bottom, after options usage string.
A instance.
Updated instance.
Thrown when parameter is null or empty string.
Adds text lines after copyright and before options usage strings.
A sequence of line to add.
Updated instance.
Adds text lines at the bottom, after options usage string.
A sequence of line to add.
Updated instance.
Adds a text block of lines after copyright and before options usage strings.
A text block.
Updated instance.
Adds a text block of lines at the bottom, after options usage string.
A text block.
Updated instance.
Adds a text block with options usage string.
A parsing computation result.
Thrown when parameter is null.
Adds a text block with verbs usage string.
The array of with verb commands.
Thrown when parameter is null.
Thrown if array is empty.
Adds a text block with options usage string.
The maximum length of the help screen.
A parsing computation result.
Thrown when parameter is null.
Adds a text block with verbs usage string.
The maximum length of the help screen.
The array of with verb commands.
Thrown when parameter is null.
Thrown if array is empty.
Builds a string that contains a parsing error message.
The containing the instance that collected command line arguments parsed with class.
The error formatting delegate.
The specialized sequence formatting delegate.
Number of spaces used to indent text.
The that contains the parsing error message.
Builds a sequence of string that contains a parsing error message.
The containing the instance that collected command line arguments parsed with class.
The error formatting delegate.
The specialized sequence formatting delegate.
Number of spaces used to indent text.
A sequence of that contains the parsing error message.
Builds a string with usage text block created using data and metadata.
Type of parsing computation result.
A parsing computation result.
Resulting formatted text.
Builds a string with usage text block created using data and metadata.
Type of parsing computation result.
A parsing computation result.
A mapping lambda normally used to translate text in other languages.
Resulting formatted text.
Builds a string sequence with usage text block created using data and metadata.
Type of parsing computation result.
A parsing computation result.
A mapping lambda normally used to translate text in other languages.
Resulting formatted text.
Returns the help screen as a .
The that contains the help screen.
Provides base properties for creating an attribute, used to define multiple lines of text.
Initializes a new instance of the class. Used in derived type
using one line of text.
The first line of text.
Initializes a new instance of the class. Used in type
using two lines of text.
The first line of text.
The second line of text.
Initializes a new instance of the class. Used in type
using three lines of text.
The first line of text.
The second line of text.
The third line of text.
Initializes a new instance of the class. Used in type
using four lines of text.
The first line of text.
The second line of text.
The third line of text.
The fourth line of text.
Initializes a new instance of the class. Used in type
using five lines of text.
The first line of text.
The second line of text.
The third line of text.
The fourth line of text.
The fifth line of text.
Gets the all non-blank lines as string.
A string of all non-blank lines.
Gets the first line of text.
Gets the second line of text.
Gets third line of text.
Gets the fourth line of text.
Gets the fifth line of text.
Returns the last line with text. Preserves blank lines if user intended by skipping a line.
The last index of line of the non-blank line.
The string array to process.
Exposes standard delegates to provide a mean to customize part of help screen generation.
This type is consumed by .
Create instance of ,
The instance.
Factory to allow custom SentenceBuilder injection
Gets a delegate that returns the word 'required'.
Gets a delegate that returns the word 'group'.
Gets a delegate that returns that errors block heading text.
Gets a delegate that returns usage text block heading text.
Get a delegate that returns the help text of help command.
The delegates must accept a boolean that is equal true for options; otherwise false for verbs.
Get a delegate that returns the help text of vesion command.
The delegates must accept a boolean that is equal true for options; otherwise false for verbs.
Gets a delegate that handles singular error formatting.
The delegates must accept an and returns a string.
Gets a delegate that handles mutually exclusive set errors formatting.
The delegates must accept a sequence of and returns a string.
A utility class to word-wrap and indent blocks of text
Splits a string into a words and performs wrapping while also preserving line-breaks and sub-indentation
The number of characters we can use for text
This method attempts to wrap text without breaking words
For example, if columnWidth is 10 , the input
"a string for wrapping 01234567890123"
would return
"a string
"for
"wrapping
"0123456789
"0123"
this
Indent all lines in the TextWrapper by the desired number of spaces
The number of spaces to indent by
this
Returns the current state of the TextWrapper as a string
Convenience method to wraps and indent a string in a single operation
The string to operate on
The number of spaces to indent by
The width of the column used for wrapping
The string is wrapped _then_ indented so the columnWidth is the width of the
usable text block, and does NOT include the indentLevel.
the processed string
When presented with a word, either append to the last line in the list or start a new line
A list of StringBuilders containing results so far
The individual word to append
The usable text space
The 'word' can actually be an empty string. It's important to keep these -
empty strings allow us to preserve indentation and extra spaces within a line.
The same list as is passed in
Return the right part of a string in a way that compensates for Substring's deficiencies
Return the left part of a string in a way that compensates for Substring's deficiencies
Applied to a static property that yields a sequence of ,
provides data to render usage section of help screen.
Application name, script or any means that starts current program.
Provides settings for when formatting command line from an options instance../>.
Gets or sets a value indicating whether unparsing process shall prefer short or long names.
Gets or sets a value indicating whether unparsing process shall group switches.
Gets or sets a value indicating whether unparsing process shall use equal sign with long names.
Gets or sets a value indicating whether unparsing process shall expose hidden options.
Gets or sets a value indicating whether unparsing process shall skip options with DefaultValue.
Factory method that creates an instance of with GroupSwitches set to true.
A properly initalized instance.
Factory method that creates an instance of with UseEqualToken set to true.
A properly initalized instance.
Provides overloads to unparse options instance.
Format a command line argument string from a parsed instance.
Type of .
Parser instance.
A parsed (or manually correctly constructed instance).
A string with command line arguments.
Format a command line argument string from a parsed instance.
Type of .
Parser instance.
A parsed (or manually correctly constructed instance).
The lambda used to configure
aspects and behaviors of the unparsersing process.
A string with command line arguments.
Models an value specification, or better how to handle values not bound to options.
Initializes a new instance of the class.
Gets the position this option has on the command line.
Gets or sets name of this positional value specification.
Models a verb command specification.
Initializes a new instance of the class.
The long name of the verb command.
Whether the verb is the default verb.
Thrown if is null, empty or whitespace and is false.
Gets the verb name.
Gets or sets a value indicating whether a command line verb is visible in the help text.
Gets or sets a short description of this command line option. Usually a sentence summary.
Gets or sets the that contains the resources for .
Gets whether this verb is the default verb.
Failed computation case.
Sccessful computation case.
Inject a value into the Either type, returning Right case.
Fail with a message. Not part of mathematical definition of a monad.
Monadic bind.
Transforms a Either's right value by using a specified mapping function.
Maps both parts of a Either type. Applies the first function if Either is Left.
Otherwise applies the second function.
Map operation compatible with Linq.
Returns a Either Right or fail with an exception.
Returns a Either Left or a defualt value.
Returns a Either Right or a defualt value.
Wraps a function, encapsulates any exception thrown within to a Either.
Attempts to cast an object.
Stores the cast value in 1Of2 if successful, otherwise stores the exception in 2Of2
Equivalent to monadic operation.
Builds a value in case by default.
Safe function that returns Just(first element) or None.
Turns an empty sequence to Nothing, otherwise Just(sequence).
Returns the Cartesian product of two sequences by combining each element of the first set with each in the second
and applying the user=define projection to the pair.
Prepends a single value to a sequence.
Returns a sequence consisting of the head element and the given tail elements.
Returns a sequence consisting of the head elements and the given tail element.
Excludes elements from a sequence starting at a given index
The type of the elements of the sequence
Returns a sequence of
where the key is the zero-based index of the value in the source
sequence.
Returns a sequence of
where the key is the index of the value in the source sequence.
An additional parameter specifies the starting index.
Returns the result of applying a function to a sequence of
1 element.
Returns the result of applying a function to a sequence of
2 elements.
Returns the result of applying a function to a sequence of
3 elements.
Returns the result of applying a function to a sequence of
4 elements.
Immediately executes the given action on each element in the source sequence.
Returns a sequence resulting from applying a function to each
element in the source sequence and its
predecessor, with the exception of the first element which is
only returned as the predecessor of the second element.
Creates a delimited string from a sequence of values. The
delimiter used depends on the current culture of the executing thread.
Creates a delimited string from a sequence of values and
a given delimiter.
Return everything except first element and throws exception if empty.
Return everything except first element without throwing exception if empty.
Captures current state of a sequence.
Creates an immutable copy of a sequence.
Selects a random element.
Takes an element and a sequence and `intersperses' that element between its elements.
Flattens a sequence by one level.
Reduces a sequence of strings to a sequence of parts, splitted by space,
of each original string.
Discriminator for .
The Maybe type models an optional value. A value of type Maybe a either contains a value of type a (represented as Just a),
or it is empty (represented as Nothing).
Type discriminator.
Matches a value returning true and value itself via output parameter.
Matches an empty value returning true.
Models a when in empty state.
Models a when contains a value.
The wrapped value.
Provides static methods for manipulating .
Builds the empty case of .
Builds the case when contains a value.
Inject a value into the monadic type.
Sequentially compose two actions, passing any value produced by the first as an argument to the second.
Transforms an maybe value by using a specified mapping function.
If both maybes contain a value, it merges them into a maybe with a tupled value.
Provides convenience extension methods for .
Provides pattern matching using delegates.
Provides pattern matching using delegates over maybe with tupled wrapped value.
Matches a value returning true and tupled value itself via two output parameters.
Equivalent to monadic operation.
Builds a value in case is different from its default.
Invokes a function on this maybe value that itself yields a maybe.
Transforms this maybe value by using a specified mapping function.
Map operation compatible with Linq.
Bind operation compatible with Linq.
If contains a value executes an delegate over it.
If contans a value executes an delegate over it.
Returns true iffits argument is of the form .
Returns true iffits argument is of the form .
Extracts the element out of a and returns a default value if its argument is .
Extracts the element out of a and throws an error if its argument is .
If contains a values returns it, otherwise returns .
If contains a values executes a mapping function over it, otherwise returns .
If contains a values executes a mapping function over it, otherwise returns the value from .
Returns an empty list when given or a singleton list when given a .
Represents the result of a computation.
Type that models the result of a successful computation.
Type that model a message related to a computation.
Represents the result of a successful computation.
Type that models the result of a successful computation.
Type that model a message related to a computation.
Represents the result of a failed computation.
Type that models the result of a successful computation.
Type that model a message related to a computation.
Creates a Failure result with the given messages.
Creates a Failure result with the given message.
Creates a Success result with the given value.
Creates a Success result with the given value and the given message.
Creates a Success result with the given value and the given messages.
Executes the given function on a given success or captures the failure.
Wraps a value in a Success.
Wraps a value in a Success.
Wraps a value in a Success and adds a message.
Wraps a message in a Failure.
Returns true if the result was not successful.
Takes a Result and maps it with successFunc if it is a Success otherwise it maps it with failureFunc.
If the given result is a Success the wrapped value will be returned.
Otherwise the function throws an exception with Failure message of the result.
Appends the given messages with the messages in the given result.
If the result is a Success it executes the given function on the value.
Otherwise the exisiting failure is propagated.
Flattens a nested result given the Failure types are equal.
If the wrapped function is a success and the given result is a success the function is applied on the value.
Otherwise the exisiting error messages are propagated.
Lifts a function into a Result container and applies it on the given result.
Promote a function to a monad/applicative, scanning the monadic/applicative arguments from left to right.
Collects a sequence of Results and accumulates their values.
If the sequence contains an error the error will be propagated.
Extensions methods for easier usage.
Allows pattern matching on Results.
Allows pattern matching on Results.
Lifts a Func into a Result and applies it on the given result.
Collects a sequence of Results and accumulates their values.
If the sequence contains an error the error will be propagated.
Collects a sequence of Results and accumulates their values.
If the sequence contains an error the error will be propagated.
If the result is a Success it executes the given Func on the value.
Otherwise the exisiting failure is propagated.
If the result is a Success it executes the given Func on the value.
If the result of the Func is a Success it maps it using the given Func.
Otherwise the exisiting failure is propagated.
Lifts a Func into a Result and applies it on the given result.
Returns the error messages or fails if the result was a success.
Returns the result or fails if the result was an error.
Returns messages in case of success, otherwise an empty sequence.
Builds a Maybe type instance from a Result one.