Home

Castle Stronghold

AbstractValidationAttribute API Document

The base class for all the validation attributes. This class define a property that is used to retrieve the validtor that is used to validate the value of the property.

Constructors

AbstractValidationAttribute(IValidator validator)

Initializes a new instance of the Castle.ActiveRecord.AbstractValidationAttribute class.

ParameterDescription
validator The validator.

AbstractValidationAttribute(IValidator validator, String errorMessage)

Initializes a new instance of the Castle.ActiveRecord.AbstractValidationAttribute class.

ParameterDescription
validator The validator.
errorMessage The error message.

Properties

NameTypeDescription
ValidatorIValidator Gets the validator for this attribute. Each attribute that inherits from this class will have its own validtor.

Google
Search WWW Search castleproject.org