コード例 #1
0
 public CommentService(IQueryLetters queryLetters, IQueryComments queryComments, MailService mailService, BlockService blockService)
 {
     _queryLetters = queryLetters;
     _queryComments = queryComments;
     _mailService = mailService;
     _blockService = blockService;
 }
コード例 #2
0
        public HomeController(Core.Services.UserService userService,
                              Core.Services.MailService mailService,
                              Core.Services.EditService editService,
                              Core.Services.LetterService letterService,
                              Core.Services.CommentService commentService,
                              Core.Services.QueueService queueService,
                              Core.Services.VoteService voteService)
        {
            _userService = userService;
            _mailService = mailService;
            _editService = editService;
            _letterService = letterService;
            _commentService = commentService;
            _queueService = queueService;
            _voteService = voteService;

            if (FormsService == null) { FormsService = new FormsAuthenticationService(); }
            if (MembershipService == null) { MembershipService = new AccountMembershipService(); }
        }
コード例 #3
0
 public BlockController(BlockService blockService, MailService mailService)
 {
     _blockService = blockService;
     _mailService = mailService;
 }
コード例 #4
0
 public CommentController(CommentService commentService, MailService mailService)
 {
     _commentService = commentService;
     _mailService = mailService;
 }