Adf.Business.Extentions.GravatarEmailExtentions.GetGravatar C# (CSharp) Method

GetGravatar() public static method

public static GetGravatar ( this email ) : string
email this
return string
        public static string GetGravatar(this Email email)
        {
            if (email.IsEmpty) return NotFound;

            string input = email.ToString().ToLower().Trim();
            string hash = EncryptionManager.Encrypt(EncryptionType.MD5, input);

            return string.Format(GravatarUrlFormat, GravatarBase, hash);
        }

Same methods

GravatarEmailExtentions::GetGravatar ( this email, int size = 40 ) : string
GravatarEmailExtentions