ValidateEmailAttribute API Document
Validate that this email address is a valid one.
Quick Note
This only check the format of the email, not if it really exists.
Constructors
ValidateEmailAttribute()
Initializes a new instance of the Castle.ActiveRecord.ValidateEmailAttribute class.
ValidateEmailAttribute(String errorMessage)
Initializes a new instance of the Castle.ActiveRecord.ValidateEmailAttribute class.
| Parameter | Description |
|---|---|
| errorMessage | The error message. |
Properties
| Name | Type | Description |
|---|---|---|
| Validator | IValidator | Gets the validator for this attribute. Each attribute that inherits from this class will have its own validtor. |