Ejemplo n.º 1
0
 public PostComment(string body, DateTime created, UserAnonymous creator, long creatorIP, string creatorUserAgent, Guid id, Language language, DateTime modified, PostCommentSmall parent, PostSmall post, string slug, EntityState state)
     : base(body, created, creator, creatorIP, creatorUserAgent, id, language, modified, null, state)
 {
     Parent = parent;
     Post   = post;
     Slug   = slug;
 }
Ejemplo n.º 2
0
 public PostComment(string body, Guid creatorUserID, string creatorName, string creatorEmail, string creatorEmailHash, string creatorUrl, long creatorIP, string creatorUserAgent, Language language, PostCommentSmall parent, PostSmall post, string slug, EntityState state)
     : base(body, creatorUserID, creatorName, creatorEmail, creatorEmailHash, creatorUrl, creatorIP, creatorUserAgent, language, null, state)
 {
     Parent = parent;
     Post   = post;
     Slug   = slug;
 }
Ejemplo n.º 3
0
 public PostComment(PostSmall post, Comment comment, string commentSlug)
     : base(comment.Body, comment.Created, comment.CreatorUserID, comment.CreatorName, comment.CreatorEmail, comment.CreatorEmailHash, comment.CreatorUrl, comment.CreatorIP, comment.CreatorUserAgent, comment.ID, comment.Language, comment.Modified, comment.Parent, comment.State)
 {
     if (comment.Parent != null)
     {
         Parent = new PostCommentSmall(comment.Parent, commentSlug);
     }
     Post = post;
     Slug = commentSlug;
 }
Ejemplo n.º 4
0
 public PostComment(string body, DateTime created, Guid creatorUserID, string creatorName, string creatorEmail, string creatorEmailHash, string creatorUrl, long creatorIP, string creatorUserAgent, Language language, DateTime modified, PostCommentSmall parent, PostSmall post, string slug, EntityState state)
     : this(body, creatorUserID, creatorName, creatorEmail, creatorEmailHash, creatorUrl, creatorIP, creatorUserAgent, language, parent, post, slug, state)
 {
     Created  = created;
     Modified = modified;
 }