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.
|
![]() | CancelParsing |
Gets or sets a value that indicates whether argument parsing should be cancelled if
this argument is encountered.
|
![]() | 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 | When implemented in a derived class, gets a unique identifier for this Attribute. (Inherited from Attribute.) |
![]() | ValueDescription |
Gets or sets the description of the property's value to use when printing usage information.
|
Name | Description | |
---|---|---|
![]() | Equals | Returns a value that indicates whether this instance is equal to a specified object. (Inherited from Attribute.) |
![]() | GetHashCode | Returns the hash code for this instance. (Inherited from Attribute.) |
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() | IsDefaultAttribute | When overridden in a derived class, indicates whether the value of this instance is the default value for the derived class. (Inherited from Attribute.) |
![]() | Match | When overridden in a derived class, returns a value that indicates whether this instance equals a specified object. (Inherited from Attribute.) |
![]() | ToString | Returns a string that represents the current object. (Inherited from Object.) |