C# Class Castle.Components.Validator.ValidateNonEmptyAttribute

Inheritance: Castle.Components.Validator.AbstractValidationAttribute
Show file Open project: nats/castle-1.0.3-mono

Public Methods

Method 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 method

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

ValidateNonEmptyAttribute() public method

Initializes a new instance of the ValidateNonEmptyAttribute class.
public ValidateNonEmptyAttribute ( ) : System
return System

ValidateNonEmptyAttribute() public method

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