Aspectacular.EmailHelper.IsValid C# (CSharp) Method

IsValid() public static method

Same as EmailAddress, but handles null gracefully. Returns false if email is null.
public static IsValid ( this email ) : bool
email this
return bool
        public static bool IsValid(this EmailAddress email)
        {
            return email != null && email.IsValid;
        }