Click or drag to resize
OptionArrayAttribute Class
Models an option that can accept multiple values as separated arguments.
Inheritance Hierarchy

Namespace: X3Platform.CommandLine
Assembly: X3Platform.Support (in X3Platform.Support.dll) Version: 1.0.0.0 (2.0.0.0)
Syntax
public sealed class OptionArrayAttribute : BaseOptionAttribute

The OptionArrayAttribute type exposes the following members.

Constructors
  NameDescription
Public methodOptionArrayAttribute
Initializes a new instance of the OptionArrayAttribute class. The default long name will be inferred from target property.
Public methodOptionArrayAttribute(Char)
Initializes a new instance of the OptionArrayAttribute class.
Public methodOptionArrayAttribute(String)
Initializes a new instance of the OptionArrayAttribute class.
Public methodOptionArrayAttribute(Char, String)
Initializes a new instance of the OptionArrayAttribute class.
Top
Methods
  NameDescription
Public methodEquals (Inherited from Attribute.)
Public methodGetHashCode (Inherited from Attribute.)
Public methodGetType (Inherited from Object.)
Public methodIsDefaultAttribute (Inherited from Attribute.)
Public methodMatch (Inherited from Attribute.)
Public methodToString (Inherited from Object.)
Top
Properties
  NameDescription
Public propertyDefaultValue
Gets or sets mapped property default value.
(Inherited from BaseOptionAttribute.)
Public propertyHelpText
Gets or sets a short description of this command line option. Usually a sentence summary.
(Inherited from BaseOptionAttribute.)
Public propertyLongName
Gets long name of this command line option. This name is usually a single english word.
(Inherited from BaseOptionAttribute.)
Public propertyMetaValue
Gets or sets mapped property meta value.
(Inherited from BaseOptionAttribute.)
Public propertyMutuallyExclusiveSet
Gets or sets the option's mutually exclusive set.
(Inherited from BaseOptionAttribute.)
Public propertyRequired
Gets or sets a value indicating whether a command line option is required.
(Inherited from BaseOptionAttribute.)
Public propertyShortName
Gets a short name of this command line option. You can use only one character.
(Inherited from BaseOptionAttribute.)
Public propertyTypeId (Inherited from Attribute.)
Top
See Also