NAnt SDK Documentation - v0.92

Int32ValidatorAttribute Members

Int32ValidatorAttribute overview

Public Instance Constructors

Int32ValidatorAttribute Overloaded. Initializes a new instance of the Int32ValidatorAttribute class.

Public Instance Properties

Base The base of the number to validate, which must be 2, 8, 10, or 16.
MaxValue Gets or sets the maximum value.
MinValue Gets or sets the minimum value.
TypeId (inherited from Attribute) When implemented in a derived class, gets a unique identifier for this Attribute.

Public Instance Methods

Equals (inherited from Attribute) Returns a value that indicates whether this instance is equal to a specified object.
GetHashCode (inherited from Attribute) Returns the hash code for this instance.
GetType (inherited from Object) Gets the Type of the current instance.
IsDefaultAttribute (inherited from Attribute) When overridden in a derived class, indicates whether the value of this instance is the default value for the derived class.
Match (inherited from Attribute) When overridden in a derived class, returns a value that indicates whether this instance equals a specified object.
ToString (inherited from Object) Returns a String that represents the current Object.
Validate Checks whether the specified value can be converted to an Int32 and whether the value lies within the range defined by the MinValue and MaxValue properties.

See Also

Int32ValidatorAttribute Class | NAnt.Core.Attributes Namespace