示例#1
0
 public DiscussionApplicationService(
     IDiscussionRepository discussionRepository,
     ForumIdentityService forumIdentityService,
     IPostRepository postRepository,
     ICollaboratorService collaboratorService)
 {
     this.discussionRepository = discussionRepository;
     this.forumIdentityService = forumIdentityService;
     this.postRepository       = postRepository;
     this.collaboratorService  = collaboratorService;
 }
示例#2
0
 public ForumApplicationService(
     ForumQueryService forumQueryService,
     IForumRepository forumRepository,
     ForumIdentityService forumIdentityService,
     DiscussionQueryService discussionQueryService,
     IDiscussionRepository discussionRepository,
     ICollaboratorService collaboratorService)
 {
     this.forumQueryService      = forumQueryService;
     this.forumRepository        = forumRepository;
     this.forumIdentityService   = forumIdentityService;
     this.discussionQueryService = discussionQueryService;
     this.discussionRepository   = discussionRepository;
     this.collaboratorService    = collaboratorService;
 }