예제 #1
0
 public BookshelfService(IDatabase redisDatabase, IDistributedLockFactory distributedLockFactory, AnfDbContext dbContext, ReadingManager readingManager, IOptions <BookshelfOptions> bookshelfOptions)
 {
     this.redisDatabase          = redisDatabase;
     this.distributedLockFactory = distributedLockFactory;
     this.dbContext        = dbContext;
     this.readingManager   = readingManager;
     this.bookshelfOptions = bookshelfOptions;
 }
예제 #2
0
 public AnfDbContextTransfer(AnfDbContext dbContext)
 {
     this.dbContext = dbContext;
 }
예제 #3
0
 public ComicRankSaver(ComicRankService comicRankService, AnfDbContext dbContext, IOptions <ComicRankOptions> rankOptions)
 {
     this.comicRankService = comicRankService;
     this.dbContext        = dbContext;
     this.rankOptions      = rankOptions;
 }