CommandLineArgumentAttribute Class |
Namespace: Ookii.CommandLine
The CommandLineArgumentAttribute type exposes the following members.
Name | Description | |
---|---|---|
CommandLineArgumentAttribute |
Initializes a new instance of the CommandLineArgumentAttribute class using the property name as the argument name.
| |
CommandLineArgumentAttribute(String) |
Initializes a new instance of the CommandLineArgumentAttribute class using the specified argument name.
|
Name | Description | |
---|---|---|
ArgumentName |
Gets the name of the argument's command switch.
| |
DefaultValue |
Gets or sets the default value to be assigned to the property if the argument is not supplied on the command line.
| |
IsRequired |
Gets or sets a value indicating whether the named argument is required.
| |
Position |
Gets or sets the position of a positional argument.
| |
TypeId | (Inherited from Attribute.) | |
ValueDescription |
Gets or sets the description of the property's value to use when printing usage information.
|
Name | Description | |
---|---|---|
Equals | (Inherited from Attribute.) | |
GetHashCode | (Inherited from Attribute.) | |
GetType | (Inherited from Object.) | |
IsDefaultAttribute | (Inherited from Attribute.) | |
Match | (Inherited from Attribute.) | |
ToString | (Inherited from Object.) |