Exemplo n.º 1
0
 public Comment(Post post, UserInfo userInfo, string text)
 {
     this.Post = post;
     this.UserInfo = userInfo;
     this.Body = text;
     this.CreationDate = DateTime.Now;
 }
Exemplo n.º 2
0
 public PostDeletedEvent(Post post)
 {
     this.Post = post;
 }
Exemplo n.º 3
0
 public RepliedToPostEvent(Post post,Comment comment)
 {
     this.Post = post;
     this.Comment = comment;
 }
Exemplo n.º 4
0
 public EditedPostEvent(Post post)
 {
     this.Post = post;
 }
Exemplo n.º 5
0
 public EnabledCommentsEvent(Post post)
 {
     this.Post = post;
 }
 public AssignedCategoryToPostEvent(Post post,Category category)
 {
     this.Post = post;
     this.Category = category;
 }
Exemplo n.º 7
0
 public UnpublishedPostEvent(Post post)
 {
     this.Post = post;
 }
Exemplo n.º 8
0
 public PostCreatedEvent(Post post)
 {
     this.Post = post;
 }