C# Class Alloy.Business.EmailAddressAttribute

Specifies the data type for a property as EmailAddress and validates it as an e-mail address.
A class with the same name and functionality exists in version 4.5 of .NET Framework, meaning that this class can be removed and it's usages replaced if changing target framework to 4.5.
Inheritance: System.ComponentModel.DataAnnotations.DataTypeAttribute
Afficher le fichier Open project: episerver/EPiTranslateFlowDemo

Méthodes publiques

Méthode Description
EmailAddressAttribute ( ) : System.ComponentModel.DataAnnotations
IsValid ( object value ) : bool

Method Details

EmailAddressAttribute() public méthode

public EmailAddressAttribute ( ) : System.ComponentModel.DataAnnotations
Résultat System.ComponentModel.DataAnnotations

IsValid() public méthode

public IsValid ( object value ) : bool
value object
Résultat bool