21 public Option(
string name,
ArgumentType argType,
char value): this(name, argType, (int)value) { }
44 public string?
Name {
get;
set; }
ArgumentType
Enumeration containing the argument types possible for getopt.
Represents a single long option for getopt.
Option(string name, ArgumentType argType, int value)
Constructs a new instance of this struct with an int as the value type.
Option(string name, ArgumentType argType, char value)
Constructs a new instance of this struct with a char as the value type.
Option()
Constructs a new, empty instance of this struct.
int Value
The value (short opt) for the option.
string? Name
The name of the (long) option