Wisej.Web.EmailValidationRule
Namespace: Wisej.Web
Assembly: Wisej.Framework (3.5.0.0)
Validates email addresses.
Initializes a new instance of EmailValidationRule.
String[]: Returns or sets a list of invalid domains: i.e. "dropmail.com", "protonmail.com". (Default: null
)
String: Returns or sets the name of the validation rule. (Default: "Email"
)
Boolean: Returns or sets whether the control can be empty or its required to have a value. (Default: False
)
String[]: Returns or sets a list of valid domains: i.e. "mycompany.com", "gmail.com", "hotmail.com". (Default: null
)
Validates the control using the validation rule.
Returns: Boolean. true if the validation is successful; otherwise false.
Parameter | Type | Description |
---|---|---|
control