Пример #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;
 }
 public SearchAppService(ISearchHistoryRepository searchHistoryRepository,
                         ICharacterClient characterClient,
                         IUnitOfWork unitOfWork)
 {
     this.searchHistoryRepository = searchHistoryRepository;
     this.unitOfWork      = unitOfWork;
     this.characterClient = characterClient;
 }
Пример #3
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;
 }
Пример #4
0
 /// <summary>
 /// 构造器
 /// </summary>
 /// <param name="searchHistoryRepository">SearchHistory仓储</param>        
 public SearchHistoryService(ISearchHistoryRepository searchHistoryRepository)
 {
     this.searchHistoryRepository = searchHistoryRepository;
 }
Пример #5
0
 //Ctor
 public MainService(ISearchHistoryRepository searchHistoryRepository)
 {
     _searchHistoryRepository = searchHistoryRepository;
 }
Пример #6
0
 /// <summary>
 /// 构造器
 /// </summary>
 /// <param name="searchHistoryRepository">SearchHistory仓储</param>
 public SearchHistoryService(ISearchHistoryRepository searchHistoryRepository)
 {
     this.searchHistoryRepository = searchHistoryRepository;
 }
 public SearchHistoryController(ISearchHistoryRepository SearchHistoryRepository)
 {
     _SearchHistoryRepository = SearchHistoryRepository;
 }