CommandLineParser Constructor (Type) |
Namespace: Ookii.CommandLine
Exception | Condition |
---|---|
ArgumentNullException | argumentsType is . |
NotSupportedException | The CommandLineParser cannot use argumentsType as the command line arguments type, because it defines a required postional argument after an optional positional argument, it defines a positional array argument that is not the last positional argument, it defines an argument with an invalid name, it defines two arguments with the same name, or it has two properties with the same Position property value. |
This constructor uses the OrdinalIgnoreCase comparer for argument names.