Esempio n. 1
0
 public RankController(ComicRankService comicRankService,
                       IMemoryCache memoryCache,
                       HotSearchService hotSearchService)
 {
     this.hotSearchService = hotSearchService;
     this.memoryCache      = memoryCache;
     this.comicRankService = comicRankService;
 }
Esempio n. 2
0
 public WebComicVisiting(IServiceProvider host,
                         IResourceFactoryCreator <Stream> resourceFactoryCreator,
                         IRootFetcher rootFetcher,
                         ComicRankService comicRankService)
     : base(host, resourceFactoryCreator)
 {
     this.comicRankService = comicRankService;
     this.rootFetcher      = rootFetcher;
 }
Esempio n. 3
0
 public VisitRankFinder(IDatabase database, ComicRankService rankService, IMemoryCache memoryCache, IOptions <VisitRankFetcherOptions> options, ILogger <VisitRankFinder> logger)
 {
     Database    = database;
     RankService = rankService;
     MemoryCache = memoryCache;
     Options     = options;
     Logger      = logger;
     Build();
 }
Esempio n. 4
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;
 }
Esempio n. 5
0
 public ReadingController(ComicRankService comicRankService,
                          IRootFetcher rootFetcher,
                          IMemoryCache memoryCache,
                          SearchEngine searchEngine,
                          ComicEngine comicEngine,
                          ComicImageFinder comicImageFinder,
                          SearchStatisticalService searchStatisticalService,
                          VisitStatisticalService visitStatisticalService)
 {
     this.visitStatisticalService  = visitStatisticalService;
     this.searchStatisticalService = searchStatisticalService;
     this.comicImageFinder         = comicImageFinder;
     this.comicEngine      = comicEngine;
     this.searchEngine     = searchEngine;
     this.memoryCache      = memoryCache;
     this.comicRankService = comicRankService;
     this.rootFetcher      = rootFetcher;
 }
Esempio n. 6
0
 public RankController(ComicRankService comicRankService, VisitRankFinder visitRankFinder, IOptions <VisitRankFetcherOptions> options)
 {
     this.comicRankService = comicRankService;
     this.visitRankFinder  = visitRankFinder;
     this.options          = options;
 }