NAnt SDK Documentation - v0.85-nightly-2005-11-09

StringValidatorAttribute Members

StringValidatorAttribute overview

Public Instance Constructors

StringValidatorAttribute Constructor Initializes a new instance of the StringValidatorAttribute class.

Public Instance Properties

AllowEmpty Gets or sets a value indicating whether an empty string or a null reference (Nothing in Visual Basic) should be a considered a valid value.
Expression Gets or sets a regular expression. The string will be validated to determine if it matches the expression.
ExpressionErrorMessage An optional error message that can be used to better describe the regular expression error.
TypeId (inherited from Attribute) 

Public Instance Methods

Equals (inherited from Attribute) 
GetHashCode (inherited from Attribute) 
GetType (inherited from Object) 
IsDefaultAttribute (inherited from Attribute) 
Match (inherited from Attribute) 
ToString (inherited from Object) 
Validate Checks if the specified value adheres to the rules defined by the properties of the StringValidatorAttribute.

See Also

StringValidatorAttribute Class | NAnt.Core.Attributes Namespace