Ejemplo n.º 1
0
 public UserService(IUserRepository userRepository,
                    IHttpContextAccessor httpContextAccessor,
                    IConfiguration configuration,
                    IAccountRepository accountRepository,
                    IPostRepository postRepository,
                    IClientGroupRepository clientGroupRepository,
                    IFieldRepository fieldRepository,
                    IFollowRepository followRepository,
                    IMapper mapper,
                    IObjectLevelRepository objectLevelRepository,
                    INotificationObjectRepository notificationObjectRepository,
                    IFcmRepository fcmRepository,
                    ILevelRepository levelRepository, ISearchHistoryRepository searchHistoryRepository)
 {
     this.userRepository        = userRepository;
     _httpContextAccessor       = httpContextAccessor;
     _configuration             = configuration;
     this.accountRepository     = accountRepository;
     this.postRepository        = postRepository;
     this.clientGroupRepository = clientGroupRepository;
     this.fieldRepository       = fieldRepository;
     this.followRepository      = followRepository;
     this.mapper = mapper;
     this.objectLevelRepository        = objectLevelRepository;
     this.notificationObjectRepository = notificationObjectRepository;
     this.fcmRepository           = fcmRepository;
     this.levelRepository         = levelRepository;
     this.searchHistoryRepository = searchHistoryRepository;
 }
Ejemplo n.º 2
0
 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;
 }
Ejemplo n.º 3
0
 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;
 }
Ejemplo n.º 4
0
 public HourlyScoringLogic(
     ICategoryScoreRepository categoryScoreRepository,
     ICategoryRepository categoryRepository,
     IHourRepository hourRepository,
     ILogService logService,
     IFcmRepository fcmRepository,
     IToggleProvider toggleProvider,
     ILegacyRecoverabilityIntegrityRepository legacyRecoverabilityIntegrityRepository,
     ILogger logger)
 {
     this.categoryScoreRepository = categoryScoreRepository;
     this.categoryRepository      = categoryRepository;
     this.hourRepository          = hourRepository;
     this.logService     = logService;
     this.fcmRepository  = fcmRepository;
     this.toggleProvider = toggleProvider;
     this.legacyRecoverabilityIntegrityRepository = legacyRecoverabilityIntegrityRepository;
     this.logger = logger.WithTypeName(this);             // .WithClassName(); -- doesn't work
 }
Ejemplo n.º 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;
 }
Ejemplo n.º 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;
 }
Ejemplo n.º 7
0
 public MessageService(IMessageRepository messageRepository,
                       IUserRepository userRepository,
                       IHttpContextAccessor httpContextAccessor,
                       IFcmRepository fcmRepository, IMapper mapper,
                       IMessageConversationActivityRepository messageConversationActivityRepository,
                       IMessageImageRepository messageImageRepository,
                       IMessageMultiMediaRepository messageMultiMediaRepository,
                       IMessagePostThumbnailRepository messagePostThumbnailRepository,
                       IMessageTextRepository messageTextRepository)
 {
     this.messageRepository   = messageRepository;
     this.userRepository      = userRepository;
     this.httpContextAccessor = httpContextAccessor;
     this.fcmRepository       = fcmRepository;
     this.mapper = mapper;
     this.messageConversationActivityRepository = messageConversationActivityRepository;
     this.messageImageRepository         = messageImageRepository;
     this.messageMultiMediaRepository    = messageMultiMediaRepository;
     this.messagePostThumbnailRepository = messagePostThumbnailRepository;
     this.messageTextRepository          = messageTextRepository;
 }
Ejemplo n.º 8
0
 public FcmController(IFcmRepository fcmRepository)
 {
     this.fcmRepository = fcmRepository;
 }