Beispiel #1
0
 public PostSubscription(Guid id, PostSmall post, string userName, string userEmail)
     : base(id)
 {
     Post      = post;
     UserName  = userName;
     UserEmail = userEmail;
 }
Beispiel #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;
 }
Beispiel #3
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;
 }
Beispiel #4
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)
 {
     Parent = comment.Parent != null ? new PostCommentSmall(comment.Parent, commentSlug) : null;
     Post   = post;
     Slug   = commentSlug;
 }
Beispiel #5
0
 public PostCommentShell(PostSmall post, Guid commentID, string commentSlug)
 {
     Post        = post;
     CommentID   = commentID;
     CommentSlug = commentSlug;
 }
Beispiel #6
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;
 }
Beispiel #7
0
 public PostComment(Guid id, PostSmall post, string slug)
     : this(id)
 {
     Post = post;
     Slug = slug;
 }