Home

Castle Stronghold

ValidateRegExpAttribute API Document

Validate that the property match the given regular expression

Constructors

ValidateRegExpAttribute(String pattern)

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

ParameterDescription
pattern The pattern.

ValidateRegExpAttribute(String pattern, String errorMessage)

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

ParameterDescription
pattern The pattern.
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