Class EmailAttribute
Email validator.
Implements
Inherited Members
Namespace: Swan.Validators
Syntax
public class EmailAttribute : MatchAttribute, IValidator
Constructors
EmailAttribute(String)
Initializes a new instance of the EmailAttribute class.
Declaration
public EmailAttribute(string errorMessage = null)
Parameters
Type | Name | Description |
---|---|---|
String | errorMessage | The error message. |