public CommentService(IHttpContextAccessor httpContextAccessor,
                       IUserRepository userRepository,
                       IPostRepository postRepository,
                       ICommentRepository commentRepository,
                       IReplyCommentRepository replyCommentRepository,
                       IDownVoteRepository downVoteRepository,
                       IUpVoteRepository upVoteRepository,
                       IFcmRepository fcmRepository,
                       IMapper mapper,
                       INotificationObjectRepository notificationObjectRepository,
                       IObjectLevelRepository objectLevelRepository,
                       ILevelRepository levelRepository,
                       IUserService userService,
                       IViolenceWordRepository violenceWordRepository)
 {
     this.httpContextAccessor    = httpContextAccessor;
     this.userRepository         = userRepository;
     this.postRepository         = postRepository;
     this.commentRepository      = commentRepository;
     this.replyCommentRepository = replyCommentRepository;
     this.downVoteRepository     = downVoteRepository;
     this.upVoteRepository       = upVoteRepository;
     this.fcmRepository          = fcmRepository;
     this.mapper = mapper;
     this.notificationObjectRepository = notificationObjectRepository;
     this.objectLevelRepository        = objectLevelRepository;
     this.levelRepository        = levelRepository;
     this.userService            = userService;
     this.violenceWordRepository = violenceWordRepository;
 }
Beispiel #2
0
 public CmsServices(IUserRepository userRepository, IMapper mapper, IAccountRepository accountRepository, IExternalLoginRepository externalLoginRepository, IPostRepository postRepository, ICommentRepository commentRepository, IReplyCommentRepository replyCommentRepository, IReportRepository reportRepository)
 {
     this.userRepository          = userRepository;
     this.mapper                  = mapper;
     this.accountRepository       = accountRepository;
     this.externalLoginRepository = externalLoginRepository;
     this.postRepository          = postRepository;
     this.commentRepository       = commentRepository;
     this.replyCommentRepository  = replyCommentRepository;
     this.reportRepository        = reportRepository;
 }
Beispiel #3
0
 public CommentConvertAction(IUserRepository userRepository,
                             IReplyCommentRepository replyCommentRepository,
                             ICommentRepository commentRepository,
                             IUpVoteRepository upVoteRepository,
                             IDownVoteRepository downVoteRepository,
                             IHttpContextAccessor httpContextAccessor, IPostRepository postRepository)
 {
     this.userRepository         = userRepository;
     this.replyCommentRepository = replyCommentRepository;
     this.commentRepository      = commentRepository;
     this.upVoteRepository       = upVoteRepository;
     this.downVoteRepository     = downVoteRepository;
     this.httpContextAccessor    = httpContextAccessor;
     this.postRepository         = postRepository;
 }
 public ReportServices(IReportRepository reportRepository,
                       IMapper mapper, IUserRepository userRepository,
                       IHttpContextAccessor httpContextAccessor,
                       IPostRepository postRepository,
                       ICommentRepository commentRepository,
                       IReplyCommentRepository replyCommentRepository, INotificationObjectRepository notificationObjectRepository, IFcmRepository fcmRepository, IConfiguration configuration)
 {
     this.reportRepository             = reportRepository;
     this.mapper                       = mapper;
     this.userRepository               = userRepository;
     this.httpContextAccessor          = httpContextAccessor;
     this.postRepository               = postRepository;
     this.commentRepository            = commentRepository;
     this.replyCommentRepository       = replyCommentRepository;
     this.notificationObjectRepository = notificationObjectRepository;
     this.fcmRepository                = fcmRepository;
     this.configuration                = configuration;
 }
Beispiel #5
0
 public HangfireService(IPostService postService,
                        IPostRepository postRepository,
                        ILoggingRepository loggingRepository,
                        IFcmRepository fcmRepository,
                        IReportRepository reportRepository,
                        ICommentRepository commentRepository,
                        ICommentService commentService,
                        IReplyCommentRepository replyCommentRepository, IReportServices reportServices)
 {
     this.postService            = postService;
     this.postRepository         = postRepository;
     this.loggingRepository      = loggingRepository;
     this.fcmRepository          = fcmRepository;
     this.reportRepository       = reportRepository;
     this.commentRepository      = commentRepository;
     this.commentService         = commentService;
     this.replyCommentRepository = replyCommentRepository;
     this.reportServices         = reportServices;
 }
Beispiel #6
0
 public PostService(IHttpContextAccessor httpContextAccessor,
                    IConfiguration configuration,
                    IUserRepository userRepository,
                    IPostRepository postRepository,
                    IFollowRepository followRepository,
                    IUpVoteRepository upVoteRepository,
                    IDownVoteRepository downVoteRepository,
                    IFcmRepository fcmRepository,
                    IMapper mapper,
                    IObjectLevelRepository objectLevelRepository,
                    ILevelService levelService,
                    IFieldGroupRepository fieldGroupRepository,
                    ILevelRepository levelRepository,
                    IMessageService messageService,
                    IConversationService conversationService,
                    ICommentRepository commentRepository,
                    IReplyCommentRepository replyCommentRepository,
                    IViolenceWordRepository violenceWordRepository,
                    IUserService userService,
                    ISearchHistoryRepository searchHistoryRepository)
 {
     this.httpContextAccessor = httpContextAccessor;
     this.configuration       = configuration;
     this.userRepository      = userRepository;
     this.postRepository      = postRepository;
     this.followRepository    = followRepository;
     this.upVoteRepository    = upVoteRepository;
     this.downVoteRepository  = downVoteRepository;
     this.fcmRepository       = fcmRepository;
     this.mapper = mapper;
     this.objectLevelRepository   = objectLevelRepository;
     this.levelService            = levelService;
     this.fieldGroupRepository    = fieldGroupRepository;
     this.levelRepository         = levelRepository;
     this.messageService          = messageService;
     this.conversationService     = conversationService;
     this.commentRepository       = commentRepository;
     this.replyCommentRepository  = replyCommentRepository;
     this.violenceWordRepository  = violenceWordRepository;
     this.userService             = userService;
     this.searchHistoryRepository = searchHistoryRepository;
 }
Beispiel #7
0
 /// <summary>
 /// 构造函数注入
 /// </summary>
 public CommentService(ICommentRepository commentRepository, IReplyCommentRepository replyCommentRepository)
 {
     _commentRepository      = commentRepository;
     _replyCommentRepository = replyCommentRepository;
 }