C# Class NAnt.Core.Attributes.StringValidatorAttribute

Inheritance: NAnt.Core.Attributes.ValidatorAttribute
Afficher le fichier Open project: skolima/NAnt Class Usage Examples

Méthodes publiques

Méthode Description
StringValidatorAttribute ( ) : System

Initializes a new instance of the StringValidatorAttribute class.

Validate ( object value ) : void

Checks if the specified value adheres to the rules defined by the properties of the StringValidatorAttribute.

Method Details

StringValidatorAttribute() public méthode

Initializes a new instance of the StringValidatorAttribute class.
public StringValidatorAttribute ( ) : System
Résultat System

Validate() public méthode

Checks if the specified value adheres to the rules defined by the properties of the StringValidatorAttribute.
is an empty string value and is set to .
public Validate ( object value ) : void
value object The value to be checked.
Résultat void