Legend

Class
Struct
Enum
Interface
Delegate
Constructor
Method
Property
Event
Field

Sealed class: RT.CommandLine.UnsupportedTypeException

Summary

Specifies that a field in the class declaration has a type not supported by CommandLineParser.

Constructors

UnsupportedTypeException(string fieldName, Func<int, ConsoleColoredString> helpGenerator, Exception inner = null)
Specifies that a field in the class declaration has a type not supported by CommandLineParser.

Instance methods

ConsoleColoredString
GenerateErrorText(int? wrapWidth = null)
Generates a printable description of the error represented by this exception, typically used to tell the user what they did wrong.
ConsoleColoredString
GenerateHelp(int? wrapWidth = null)
Generates the help screen to be output to the user on the console.
ConsoleColoredString Generates and returns usage information, followed by an error message describing to the user what it was that the parser didn't understand.
void Prints usage information, followed by an error message describing to the user what it was that the parser didn't understand.

Instance properties

ConsoleColoredStringContains the error message that describes the cause of this exception.
stringContains the name of the field pertaining to the parameter that was passed an invalid value.