CommandLineConstructorAttribute Class

Indicates the constructor that should be used by the CommandLineParser class, if a class has multiple public constructors.

Definition

Namespace: Ookii.CommandLine
Assembly: Ookii.CommandLine (in Ookii.CommandLine.dll) Version: 3.0.0
C#
public sealed class CommandLineConstructorAttribute : Attribute
Inheritance
Object    Attribute    CommandLineConstructorAttribute

Remarks

If a class has only one public constructor, it is not necessary to use this attribute.

Constructors

CommandLineConstructorAttributeInitializes a new instance of the CommandLineConstructorAttribute class

Properties

TypeIdWhen implemented in a derived class, gets a unique identifier for this Attribute.
(Inherited from Attribute)

Methods

EqualsReturns a value that indicates whether this instance is equal to a specified object.
(Inherited from Attribute)
GetHashCodeReturns the hash code for this instance.
(Inherited from Attribute)
GetTypeGets the Type of the current instance.
(Inherited from Object)
IsDefaultAttributeWhen overridden in a derived class, indicates whether the value of this instance is the default value for the derived class.
(Inherited from Attribute)
MatchWhen overridden in a derived class, returns a value that indicates whether this instance equals a specified object.
(Inherited from Attribute)
ToStringReturns a string that represents the current object.
(Inherited from Object)

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also