Example #1
0
 public SubsController(IContextService contextService,
     ISubDao subDao,
     IMapper mapper,
     ICommandBus commandBus,
     IUserContext userContext,
     IPostDao postDao,
     IVoteDao voteDao,
     ICommentDao commentDao,
     IPermissionDao permissionDao,
     ICommentNodeHierarchyBuilder commentNodeHierarchyBuilder,
     ICommentTreeContextBuilder commentTreeContextBuilder,
     IPostWrapper postWrapper,
     ISubWrapper subWrapper,
     ICommentWrapper commentWrapper)
 {
     _contextService = contextService;
     _subDao = subDao;
     _mapper = mapper;
     _commandBus = commandBus;
     _userContext = userContext;
     _postDao = postDao;
     _voteDao = voteDao;
     _commentDao = commentDao;
     _permissionDao = permissionDao;
     _commentNodeHierarchyBuilder = commentNodeHierarchyBuilder;
     _commentTreeContextBuilder = commentTreeContextBuilder;
     _postWrapper = postWrapper;
     _subWrapper = subWrapper;
     _commentWrapper = commentWrapper;
 }
Example #2
0
 public MessageWrapper(IMessageDao messageDao,
                       IMembershipService membershipService,
                       ISubDao subDao,
                       IPermissionDao permissionDao,
                       ICommentWrapper commentWrapper,
                       IPostWrapper postWrapper)
 {
     _messageDao        = messageDao;
     _membershipService = membershipService;
     _subDao            = subDao;
     _permissionDao     = permissionDao;
     _commentWrapper    = commentWrapper;
     _postWrapper       = postWrapper;
 }
Example #3
0
 public MessageWrapper(IMessageDao messageDao,
     IMembershipService membershipService,
     ISubDao subDao,
     IPermissionDao permissionDao,
     ICommentWrapper commentWrapper,
     IPostWrapper postWrapper)
 {
     _messageDao = messageDao;
     _membershipService = membershipService;
     _subDao = subDao;
     _permissionDao = permissionDao;
     _commentWrapper = commentWrapper;
     _postWrapper = postWrapper;
 }
Example #4
0
 public PostsController(ISubDao subDao,
     ISubWrapper subWrapper,
     IPostDao postDao,
     IPostWrapper postWrapper,
     IUserContext userContext,
     ICommandBus commandBus,
     ILogger<PostsController> logger)
 {
     _subDao = subDao;
     _subWrapper = subWrapper;
     _postDao = postDao;
     _postWrapper = postWrapper;
     _userContext = userContext;
     _commandBus = commandBus;
     _logger = logger;
 }
Example #5
0
 public UsersController(IMembershipService membershipService,
     ISubDao subDao,
     IModerationDao moderationDao,
     IKarmaDao karmaDao,
     ICommentDao commentDao,
     ICommentWrapper commentWrapper,
     IPostDao postDao,
     IPostWrapper postWrapper,
     IUserContext userContext,
     IContextService contextService)
 {
     _membershipService = membershipService;
     _subDao = subDao;
     _moderationDao = moderationDao;
     _karmaDao = karmaDao;
     _commentDao = commentDao;
     _commentWrapper = commentWrapper;
     _postDao = postDao;
     _postWrapper = postWrapper;
     _userContext = userContext;
     _contextService = contextService;
 }
Example #6
0
 public ReportsController(ILogger <ReportsController> logger,
                          ICommandBus commandBus,
                          IUserContext userContext,
                          ISubDao subDao,
                          ISubWrapper subWrapper,
                          IPermissionDao permissionDao,
                          IPostDao postDao,
                          IPostWrapper postWrapper,
                          ICommentDao commentDao,
                          ICommentWrapper commentWrapper)
 {
     _logger         = logger;
     _commandBus     = commandBus;
     _userContext    = userContext;
     _subDao         = subDao;
     _subWrapper     = subWrapper;
     _permissionDao  = permissionDao;
     _postDao        = postDao;
     _postWrapper    = postWrapper;
     _commentDao     = commentDao;
     _commentWrapper = commentWrapper;
 }
Example #7
0
 public UsersController(IMembershipService membershipService,
                        ISubDao subDao,
                        IModerationDao moderationDao,
                        IKarmaDao karmaDao,
                        ICommentDao commentDao,
                        ICommentWrapper commentWrapper,
                        IPostDao postDao,
                        IPostWrapper postWrapper,
                        IUserContext userContext,
                        IContextService contextService)
 {
     _membershipService = membershipService;
     _subDao            = subDao;
     _moderationDao     = moderationDao;
     _karmaDao          = karmaDao;
     _commentDao        = commentDao;
     _commentWrapper    = commentWrapper;
     _postDao           = postDao;
     _postWrapper       = postWrapper;
     _userContext       = userContext;
     _contextService    = contextService;
 }
Example #8
0
 public ReportsController(ILogger<ReportsController> logger,
     ICommandBus commandBus,
     IUserContext userContext,
     ISubDao subDao,
     ISubWrapper subWrapper,
     IPermissionDao permissionDao,
     IPostDao postDao,
     IPostWrapper postWrapper,
     ICommentDao commentDao,
     ICommentWrapper commentWrapper)
 {
     _logger = logger;
     _commandBus = commandBus;
     _userContext = userContext;
     _subDao = subDao;
     _subWrapper = subWrapper;
     _permissionDao = permissionDao;
     _postDao = postDao;
     _postWrapper = postWrapper;
     _commentDao = commentDao;
     _commentWrapper = commentWrapper;
 }
Example #9
0
 public SubsController(IContextService contextService,
                       ISubDao subDao,
                       IMapper mapper,
                       ICommandBus commandBus,
                       IUserContext userContext,
                       IPostDao postDao,
                       IVoteDao voteDao,
                       ICommentDao commentDao,
                       IPermissionDao permissionDao,
                       ICommentNodeHierarchyBuilder commentNodeHierarchyBuilder,
                       ICommentTreeContextBuilder commentTreeContextBuilder,
                       IPostWrapper postWrapper,
                       ISubWrapper subWrapper,
                       ICommentWrapper commentWrapper,
                       IMembershipService membershipService,
                       ISettingsProvider <SubSettings> subSettings,
                       ISubActivityDao subActivityDao,
                       IModerationDao moderationDao)
 {
     _contextService = contextService;
     _subDao         = subDao;
     _mapper         = mapper;
     _commandBus     = commandBus;
     _userContext    = userContext;
     _postDao        = postDao;
     _voteDao        = voteDao;
     _commentDao     = commentDao;
     _permissionDao  = permissionDao;
     _commentNodeHierarchyBuilder = commentNodeHierarchyBuilder;
     _commentTreeContextBuilder   = commentTreeContextBuilder;
     _postwrapper        = postWrapper;
     _subwrapper         = subWrapper;
     _commentWrapper     = commentWrapper;
     _membershiipService = membershipService;
     _subSettings        = subSettings;
     _subActivityDao     = subActivityDao;
     _moderationDao      = moderationDao;
 }
Example #10
0
 public SubsController(IContextService contextService,
     ISubDao subDao,
     IMapper mapper,
     ICommandBus commandBus,
     IUserContext userContext,
     IPostDao postDao,
     IVoteDao voteDao,
     ICommentDao commentDao,
     IPermissionDao permissionDao,
     ICommentNodeHierarchyBuilder commentNodeHierarchyBuilder,
     ICommentTreeContextBuilder commentTreeContextBuilder,
     IPostWrapper postWrapper,
     ISubWrapper subWrapper,
     ICommentWrapper commentWrapper,
     IMembershipService membershipService,
     ISettingsProvider<SubSettings> subSettings,
     ISubActivityDao subActivityDao,
     IModerationDao moderationDao)
 {
     _contextService = contextService;
     _subDao = subDao;
     _mapper = mapper;
     _commandBus = commandBus;
     _userContext = userContext;
     _postDao = postDao;
     _voteDao = voteDao;
     _commentDao = commentDao;
     _permissionDao = permissionDao;
     _commentNodeHierarchyBuilder = commentNodeHierarchyBuilder;
     _commentTreeContextBuilder = commentTreeContextBuilder;
     _postWrapper = postWrapper;
     _subWrapper = subWrapper;
     _commentWrapper = commentWrapper;
     _membershipService = membershipService;
     _subSettings = subSettings;
     _subActivityDao = subActivityDao;
     _moderationDao = moderationDao;
 }
Example #11
0
 public PostsController(ISubDao subDao,
     ISubWrapper subWrapper,
     IPostDao postDao,
     IPostWrapper postWrapper,
     IUserContext userContext,
     ICommandBus commandBus,
     IContextService contextService,
     ICommentTreeContextBuilder commentTreeContextBuilder,
     ICommentDao commentDao,
     ISubActivityDao subActivityDao,
     ICommentNodeHierarchyBuilder commentNodeHierarchyBuilder)
 {
     _subDao = subDao;
     _subWrapper = subWrapper;
     _postDao = postDao;
     _postWrapper = postWrapper;
     _userContext = userContext;
     _commandBus = commandBus;
     _contextService = contextService;
     _commentTreeContextBuilder = commentTreeContextBuilder;
     _commentDao = commentDao;
     _subActivityDao = subActivityDao;
     _commentNodeHierarchyBuilder = commentNodeHierarchyBuilder;
 }
Example #12
0
 public PostsController(ISubDao subDao,
                        ISubWrapper subWrapper,
                        IPostDao postDao,
                        IPostWrapper postWrapper,
                        IUserContext userContext,
                        ICommandBus commandBus,
                        IContextService contextService,
                        ICommentTreeContextBuilder commentTreeContextBuilder,
                        ICommentDao commentDao,
                        ISubActivityDao subActivityDao,
                        ICommentNodeHierarchyBuilder commentNodeHierarchyBuilder)
 {
     _subDao                      = subDao;
     _subWrapper                  = subWrapper;
     _postDao                     = postDao;
     _postWrapper                 = postWrapper;
     _userContext                 = userContext;
     _commandBus                  = commandBus;
     _contextService              = contextService;
     _commentTreeContextBuilder   = commentTreeContextBuilder;
     _commentDao                  = commentDao;
     _subActivityDao              = subActivityDao;
     _commentNodeHierarchyBuilder = commentNodeHierarchyBuilder;
 }