public static string Gravatar(this HtmlHelper html, string email, object gravatarAttributes, object htmlAttributes) { Contract.Requires<ArgumentException>(!string.IsNullOrEmpty(email)); return GetImageTag(GetGravatar(email, gravatarAttributes), htmlAttributes); }