Unosquare
    Show / Hide Table of Contents

    Class EmailAttribute

    Email validator.

    Inheritance
    Object
    MatchAttribute
    EmailAttribute
    Implements
    IValidator
    Inherited Members
    MatchAttribute.Expression
    MatchAttribute.ErrorMessage
    MatchAttribute.IsValid<T>(T)
    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.

    Implements

    IValidator

    Comments

    Back to top Copyright © 2017-2019 Unosquare