CommandLineArgument Class |
Namespace: Ookii.CommandLine
The CommandLineArgument type exposes the following members.
| Name | Description | |
|---|---|---|
| Aliases |
Gets the alternative names for this command line argument.
| |
| AllowNull |
Gets a value that indicates whether or not this argument accepts values.
| |
| 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.
| |
| CancelParsing |
Gets a value that indicates whether argument parsing should be cancelled if this
argument is encountered.
| |
| 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.
| |
| KeyValueSeparator |
Gets the separator for key/value pairs if this argument is a dictionary 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 | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
| GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| ToString |
Returns a String that represents the current CommandLineArgument.
(Overrides ObjectToString.) |