public ForumSubjectChanged(Tenant tenantId, ForumId forumId, string subject, string exclusiveOwner) { this.TenantId = tenantId; this.ForumId = forumId; this.Subject = subject; this.ExclusiveOwner = exclusiveOwner; }
public DiscussionClosed(Tenant tenantId, ForumId forumId, DiscussionId discussionId, string exclusiveOwner) { this.TenantId = tenantId; this.ForumId = forumId; this.DiscussionId = discussionId; this.ExclusiveOwner = exclusiveOwner; }
public ForumModeratorChanged(Tenant tenantId, ForumId forumId, Moderator moderator, string exclusiveOwner) { TenantId = tenantId; ForumId = forumId; Moderator = moderator; ExclusiveOwner = exclusiveOwner; }
public ForumModeratorChanged(Tenant tenantId, ForumId forumId, Moderator moderator,string exclusiveOwner) { this.TenantId = tenantId; this.ForumId = forumId; this.Moderator = moderator; this.ExclusiveOwner = exclusiveOwner; }
public ForumDescriptionChanged(Tenant tenantId, ForumId forumId, string description, string exclusiveOwner) { TenantId = tenantId; ForumId = forumId; Description = description; ExclusiveOwner = exclusiveOwner; }
public ForumDescriptionChanged(Tenant tenantId, ForumId forumId, string description, string exclusiveOwner) { this.TenantId = tenantId; this.ForumId = forumId; this.Description = description; this.ExclusiveOwner = exclusiveOwner; }
public ForumModeratorChanged(Tenant tenantId, ForumId forumId, Moderator moderator, string exclusiveOwner) { this.TenantId = tenantId; this.ForumId = forumId; this.Moderator = moderator; this.ExclusiveOwner = exclusiveOwner; }
public ForumSubjectChanged(Tenant tenantId, ForumId forumId, string subject, string exclusiveOwner) { TenantId = tenantId; ForumId = forumId; Subject = subject; ExclusiveOwner = exclusiveOwner; }
public DiscussionClosed(Tenant tenantId, ForumId forumId, DiscussionId discussionId, string exclusiveOwner) { TenantId = tenantId; ForumId = forumId; DiscussionId = discussionId; ExclusiveOwner = exclusiveOwner; }
public DiscussionStarted(Tenant tenantId, ForumId forumId, DiscussionId discussionId, Author author, string subject, string exclusiveOwner) { this.TenantId = tenantId; this.ForumId = forumId; this.DiscussionId = discussionId; this.Author = author; this.Subject = subject; this.ExclusiveOwner = exclusiveOwner; }
public PostedContentAltered(Tenant tenantId, ForumId forumId, DiscussionId discussionId, PostId postId, string subject, string bodyText) { this.TenantId = tenantId; this.ForumId = forumId; this.DiscussionId = discussionId; this.PostId = postId; this.Subject = subject; this.BodyText = bodyText; }
public DiscussionStarted(Tenant tenantId, ForumId forumId, DiscussionId discussionId, Author author, string subject, string exclusiveOwner) { TenantId = tenantId; ForumId = forumId; DiscussionId = discussionId; Author = author; Subject = subject; ExclusiveOwner = exclusiveOwner; }
void When(DiscussionStarted e) { this.tenantId = e.TenantId; this.forumId = e.ForumId; this.discussionId = e.DiscussionId; this.author = e.Author; this.subject = e.Subject; this.exclusiveOwner = e.ExclusiveOwner; }
public PostedContentAltered(Tenant tenantId, ForumId forumId, DiscussionId discussionId, PostId postId, string subject, string bodyText) { TenantId = tenantId; ForumId = forumId; DiscussionId = discussionId; PostId = postId; Subject = subject; BodyText = bodyText; }
void When(ForumStarted e) { this.tenantId = e.TenantId; this.forumId = e.ForumId; this.creator = e.Creator; this.moderator = e.Moderator; this.subject = e.Subject; this.description = e.Description; this.exclusiveOwner = e.ExclusiveOwner; }
public ForumStarted(Tenant tenantId, ForumId forumId, Creator creator, Moderator moderator, string subject, string description, string exclusiveOwner) { this.TenantId = tenantId; this.ForumId = forumId; this.Creator = creator; this.Moderator = moderator; this.Subject = subject; this.Description = description; this.ExclusiveOwner = exclusiveOwner; }
public ForumStarted(Tenant tenantId, ForumId forumId, Creator creator, Moderator moderator, string subject, string description, string exclusiveOwner) { TenantId = tenantId; ForumId = forumId; Creator = creator; Moderator = moderator; Subject = subject; Description = description; ExclusiveOwner = exclusiveOwner; }
public Discussion(Tenant tenantId, ForumId forumId, DiscussionId discussionId, Author author, string subject, string exclusiveOwner = null) { AssertionConcern.AssertArgumentNotNull(tenantId, "The tenant must be provided."); AssertionConcern.AssertArgumentNotNull(forumId, "The forum id must be provided."); AssertionConcern.AssertArgumentNotNull(discussionId, "The discussion id must be provided."); AssertionConcern.AssertArgumentNotNull(author, "The author must be provided."); AssertionConcern.AssertArgumentNotEmpty(subject, "The subject must be provided."); Apply(new DiscussionStarted(tenantId, forumId, discussionId, author, subject, exclusiveOwner)); }
public PostedToDiscussion(Tenant tenantId, ForumId forumId, DiscussionId discussionId, PostId postId, Author author, string subject, string bodyText, PostId replyToPostId) { TenantId = tenantId; ForumId = forumId; DiscussionId = discussionId; PostId = postId; Author = author; Subject = subject; BodyText = bodyText; ReplyToPostId = replyToPostId; }
public Post(Tenant tenantId, ForumId forumId, DiscussionId discussionId, PostId postId, Author author, string subject, string bodyText, PostId replyToPostId = null) { AssertionConcern.AssertArgumentNotNull(tenantId, "The tenant must be provided."); AssertionConcern.AssertArgumentNotNull(forumId, "The forum id must be provided."); AssertionConcern.AssertArgumentNotNull(discussionId, "The discussion id must be provided."); AssertionConcern.AssertArgumentNotNull(postId, "The post id must be provided."); AssertionConcern.AssertArgumentNotNull(author, "The author must be provided."); AssertPostContent(subject, bodyText); Apply(new PostedToDiscussion(tenantId, forumId, discussionId, postId, author, subject, bodyText, replyToPostId)); }
void When(PostedToDiscussion e) { this.tenantId = e.TenantId; this.forumId = e.ForumId; this.discussionId = e.DiscussionId; this.postId = e.PostId; this.author = e.Author; this.subject = e.Subject; this.bodyText = e.BodyText; this.replyToPostId = e.ReplyToPostId; }
public PostedToDiscussion(Tenant tenantId, ForumId forumId, DiscussionId discussionId, PostId postId, Author author, string subject, string bodyText, PostId replyToPostId) { this.TenantId = tenantId; this.ForumId = forumId; this.DiscussionId = discussionId; this.PostId = postId; this.Author = author; this.Subject = subject; this.BodyText = bodyText; this.ReplyToPostId = replyToPostId; }
public Forum(Tenant tenantId, ForumId forumId, Creator creator, Moderator moderator, string subject, string description, string exclusiveOwner) { AssertionConcern.AssertArgumentNotNull(tenantId, "The tenant must be provided."); AssertionConcern.AssertArgumentNotNull(forumId, "The forum id must be provided."); AssertionConcern.AssertArgumentNotNull(creator, "The creator must be provided."); AssertionConcern.AssertArgumentNotNull(moderator, "The moderator must be provided."); AssertionConcern.AssertArgumentNotEmpty(subject, "The subject must be provided."); AssertionConcern.AssertArgumentNotEmpty(description, "The description must be provided."); Apply(new ForumStarted(tenantId, forumId, creator, moderator, subject, description, exclusiveOwner)); }
private void When(PostedToDiscussion e) { _tenantId = e.TenantId; _forumId = e.ForumId; _discussionId = e.DiscussionId; _postId = e.PostId; _author = e.Author; _subject = e.Subject; _bodyText = e.BodyText; _replyToPostId = e.ReplyToPostId; }
public ForumReopened(Tenant tenantId, ForumId forumId, string exclusiveOwner) { this.TenantId = tenantId; this.ForumId = forumId; this.ExclusiveOwner = exclusiveOwner; }
public ForumReopened(Tenant tenantId, ForumId forumId, string exclusiveOwner) { TenantId = tenantId; ForumId = forumId; ExclusiveOwner = exclusiveOwner; }
public ForumClosed(Tenant tenantId, ForumId forumId, string exclusiveOwner) { this.TenantId = tenantId; this.ForumId = forumId; this.ExclusiveOwner = exclusiveOwner; }