Show / Hide Table of Contents

    Class SentinetEmailAddressAttribute

    Validates email address.

    Inheritance
    Object
    SentinetEmailAddressAttribute
    Namespace: Nevatech.Vsb.Repository
    Assembly: Nevatech.Vsb.Repository.dll
    Syntax
    [AttributeUsage(AttributeTargets.Property | AttributeTargets.Field | AttributeTargets.Parameter, AllowMultiple = false)]
    public sealed class SentinetEmailAddressAttribute : RegularExpressionAttribute
    Remarks

    This is a relaxed version of EmailAddressAttribute that allows email addresses without top level domains such as .com, .gov, etc.

    Constructors

    SentinetEmailAddressAttribute()

    Initializes a new instance of SentinetEmailAddressAttribute.

    Declaration
    public SentinetEmailAddressAttribute()

    Methods

    FormatErrorMessage(String)

    Declaration
    public override string FormatErrorMessage(string name)
    Parameters
    Type Name Description
    String name
    Returns
    Type Description
    String

    IsValid(Object)

    Declaration
    public override bool IsValid(object value)
    Parameters
    Type Name Description
    Object value
    Returns
    Type Description
    Boolean
    Back to top Nevatech Sentinet 6.5 Online Documentation