CommandLineArgument Class |
Namespace: Ookii.CommandLine
The CommandLineArgument type exposes the following members.
Name | Description | |
---|---|---|
Aliases |
Gets the alternative names for this command line argument.
| |
AllowsDuplicateDictionaryKeys |
Gets a value indicating whether this argument, if it is a dictionary argument, allows duplicate keys.
| |
ArgumentName |
Gets the name of this argument.
| |
ArgumentType |
Gets the type of the argument.
| |
DefaultValue |
Gets the default value for an argument.
| |
Description |
Gets the description of the argument.
| |
ElementType |
Gets the element type of the argument.
| |
HasValue |
Gets a value indicating whether the value of this argument was supplied on the command line in the last
call to Parse(String, Int32).
| |
IsDictionary |
Gets a value indicating whether this argument is a dictionary argument.
| |
IsMultiValue |
Gets a value indicating whether this argument is a multi-value argument.
| |
IsRequired |
Gets a value that indicates whether the argument is required.
| |
IsSwitch |
Gets a value indicating whether this argument is a switch argument.
| |
MemberName |
Gets the name of the property or constructor parameter that defined this command line argument.
| |
MultiValueSeparator |
Gets the separator for the values if this argument is a multi-value argument
| |
Position |
Gets the position of this argument.
| |
UsedArgumentName |
Gets the name or alias that was used on the command line to specify this argument.
| |
Value |
Gets the value that the argument was set to in the last call to Parse(String, Int32).
| |
ValueDescription |
Gets the description of the property's value to use when printing usage information.
|
Name | Description | |
---|---|---|
ConvertToArgumentType |
Converts the specified string to the argument type, as specified in the ArgumentType property.
| |
Equals | (Inherited from Object.) | |
GetHashCode | (Inherited from Object.) | |
GetType | (Inherited from Object.) | |
ToString |
Returns a String that represents the current CommandLineArgument.
(Overrides ObjectToString.) |