public Comment(Post post, UserInfo userInfo, string text) { this.Post = post; this.UserInfo = userInfo; this.Body = text; this.CreationDate = DateTime.Now; }
public PostDeletedEvent(Post post) { this.Post = post; }
public RepliedToPostEvent(Post post,Comment comment) { this.Post = post; this.Comment = comment; }
public EditedPostEvent(Post post) { this.Post = post; }
public EnabledCommentsEvent(Post post) { this.Post = post; }
public AssignedCategoryToPostEvent(Post post,Category category) { this.Post = post; this.Category = category; }
public UnpublishedPostEvent(Post post) { this.Post = post; }
public PostCreatedEvent(Post post) { this.Post = post; }