StringValidatorAttribute overview
![]() |
Initializes a new instance of the StringValidatorAttribute class. |
![]() | 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. |
![]() | Gets or sets a regular expression. The string will be validated to determine if it matches the expression. |
![]() | An optional error message that can be used to better describe the regular expression error. |
![]() |
![]() | |
![]() | |
![]() | |
![]() | |
![]() | |
![]() | |
![]() | Checks if the specified value adheres to the rules defined by the properties of the StringValidatorAttribute. |
StringValidatorAttribute Class | NAnt.Core.Attributes Namespace