OptionAttribute Class |
Namespace: X3Platform.CommandLine
The OptionAttribute type exposes the following members.
Name | Description | |
---|---|---|
![]() | OptionAttribute |
Initializes a new instance of the OptionAttribute class.
The default long name will be inferred from target property.
|
![]() | OptionAttribute(Char) |
Initializes a new instance of the OptionAttribute class.
|
![]() | OptionAttribute(String) |
Initializes a new instance of the OptionAttribute class.
|
![]() | OptionAttribute(Char, String) |
Initializes a new instance of the OptionAttribute class.
|
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.) |
Name | Description | |
---|---|---|
![]() | DefaultValue |
Gets or sets mapped property default value.
(Inherited from BaseOptionAttribute.) |
![]() | HelpText |
Gets or sets a short description of this command line option. Usually a sentence summary.
(Inherited from BaseOptionAttribute.) |
![]() | LongName |
Gets long name of this command line option. This name is usually a single english word.
(Inherited from BaseOptionAttribute.) |
![]() | MetaValue |
Gets or sets mapped property meta value.
(Inherited from BaseOptionAttribute.) |
![]() | MutuallyExclusiveSet |
Gets or sets the option's mutually exclusive set.
(Inherited from BaseOptionAttribute.) |
![]() | Required |
Gets or sets a value indicating whether a command line option is required.
(Inherited from BaseOptionAttribute.) |
![]() | ShortName |
Gets a short name of this command line option. You can use only one character.
(Inherited from BaseOptionAttribute.) |
![]() | TypeId | (Inherited from Attribute.) |