C# Class Castle.Components.Validator.ValidateNonEmptyAttribute

Inheritance: Castle.Components.Validator.AbstractValidationAttribute
Afficher le fichier Open project: nats/castle-1.0.3-mono

Méthodes publiques

Méthode Description
Build ( ) : IValidator

Constructs and configures an IValidator instance based on the properties set on the attribute instance.

ValidateNonEmptyAttribute ( ) : System

Initializes a new instance of the ValidateNonEmptyAttribute class.

ValidateNonEmptyAttribute ( String errorMessage ) : System

Initializes a new instance of the ValidateNonEmptyAttribute class.

Method Details

Build() public méthode

Constructs and configures an IValidator instance based on the properties set on the attribute instance.
public Build ( ) : IValidator
Résultat IValidator

ValidateNonEmptyAttribute() public méthode

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

ValidateNonEmptyAttribute() public méthode

Initializes a new instance of the ValidateNonEmptyAttribute class.
public ValidateNonEmptyAttribute ( String errorMessage ) : System
errorMessage String The error message.
Résultat System