コード例 #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;
 }
コード例 #2
0
ファイル: MessageWrapper.cs プロジェクト: snetts/skimur
 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;
 }
コード例 #3
0
ファイル: MessageWrapper.cs プロジェクト: skimur/skimur
 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;
 }
コード例 #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;
 }
コード例 #5
0
ファイル: UsersController.cs プロジェクト: skimur/skimur
 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;
 }
コード例 #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;
 }
コード例 #7
0
ファイル: UsersController.cs プロジェクト: snetts/skimur
 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;
 }
コード例 #8
0
ファイル: ReportsController.cs プロジェクト: skimur/skimur
 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;
 }
コード例 #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;
 }
コード例 #10
0
ファイル: SubsController.cs プロジェクト: skimur/skimur
 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;
 }
コード例 #11
0
ファイル: PostsController.cs プロジェクト: skimur/skimur
 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;
 }
コード例 #12
0
ファイル: PostsController.cs プロジェクト: snetts/skimur
 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;
 }