Exemple #1
0
 public RankController(ComicRankService comicRankService,
                       IMemoryCache memoryCache,
                       HotSearchService hotSearchService)
 {
     this.hotSearchService = hotSearchService;
     this.memoryCache      = memoryCache;
     this.comicRankService = comicRankService;
 }
Exemple #2
0
 public ReadingController(ComicRankService comicRankService,
                          IRootFetcher rootFetcher,
                          IMemoryCache memoryCache,
                          SearchEngine searchEngine,
                          ComicEngine comicEngine,
                          HotSearchService hotSearchService,
                          IServiceScopeFactory scopeFactory)
 {
     this.scopeFactory     = scopeFactory;
     this.comicEngine      = comicEngine;
     this.hotSearchService = hotSearchService;
     this.searchEngine     = searchEngine;
     this.memoryCache      = memoryCache;
     this.comicRankService = comicRankService;
     this.rootFetcher      = rootFetcher;
 }