public static string Gravatar(this HtmlHelper htmlHelper, OxiteViewModel model, UserAnonymous user, string size) { return(htmlHelper.Gravatar( !string.IsNullOrEmpty(user.EmailHash) ? user.EmailHash.CleanAttribute() : null, !string.IsNullOrEmpty(user.Name) ? user.Name.CleanAttribute() : null, size, model.Site.GravatarDefault )); }
public CommentInputForImport(string body, DateTime created, UserAnonymous creator, long creatorIP, string creatorUserAgent, Language language, DateTime modified, EntityState state) : this(body, created, creatorIP, creatorUserAgent, language, modified, state) { creatorAnonymous = creator; }
public CommentInput(Guid parentID, string body, bool subscribe, bool saveAnonymousUser, UserAnonymous creator) : this(parentID, body, subscribe) { SaveAnonymousUser = saveAnonymousUser; Creator = creator; }
public Comment(string body, DateTime created, UserAnonymous creator, long creatorIP, string creatorUserAgent, Language language, DateTime modified, EntityState state) : this(body, Guid.Empty, creator.Name, creator.Email, creator.EmailHash, creator.Url, creatorIP, creatorUserAgent, language, null, state) { Created = created; userAnonymous = creator; }
public CommentSmall(Guid id, DateTime created, UserAnonymous creator) : this(id, created, creator.Name, creator.EmailHash, creator.Url) { }
public PostComment(string body, DateTime created, UserAnonymous creator, long creatorIP, string creatorUserAgent, Language language, DateTime modified, string slug, EntityState state) : base(body, created, creator, creatorIP, creatorUserAgent, language, modified, state) { Slug = slug; }
public static string Gravatar(this HtmlHelper htmlHelper, OxiteViewModel model, UserAnonymous user, string size) { return(htmlHelper.Gravatar( user.IsAuthenticated ? user.EmailHash.CleanAttribute() : null, user.IsAuthenticated ? user.Name.CleanAttribute() : null, size, model.Site.GravatarDefault )); }
public ApiExplorerSettingsExtendAttribute(UserAnonymous role) { GroupName = role.ToString(); }