示例#1
0
 public RankController(ComicRankService comicRankService,
                       IMemoryCache memoryCache,
                       HotSearchService hotSearchService)
 {
     this.hotSearchService = hotSearchService;
     this.memoryCache      = memoryCache;
     this.comicRankService = comicRankService;
 }
示例#2
0
 public WebComicVisiting(IServiceProvider host,
                         IResourceFactoryCreator <Stream> resourceFactoryCreator,
                         IRootFetcher rootFetcher,
                         ComicRankService comicRankService)
     : base(host, resourceFactoryCreator)
 {
     this.comicRankService = comicRankService;
     this.rootFetcher      = rootFetcher;
 }
示例#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();
 }
示例#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;
 }
示例#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;
 }
示例#6
0
 public RankController(ComicRankService comicRankService, VisitRankFinder visitRankFinder, IOptions <VisitRankFetcherOptions> options)
 {
     this.comicRankService = comicRankService;
     this.visitRankFinder  = visitRankFinder;
     this.options          = options;
 }