コード例 #1
0
 public PinRepository(ILogger <IPinRepository> logger, IRedisCacheClient redisClient, IPinCacheKeyGenerator cacheKeyGenerator, DEMODBContext dbContext)
 {
     _logger            = logger;
     _redisClient       = redisClient;
     _cacheKeyGenerator = cacheKeyGenerator;
     _dbContext         = dbContext;
 }
コード例 #2
0
 public DBMaintenanceController(ILogger <DBMaintenanceController> logger, DEMODBContext context, IRedisCacheClient cacheClient, IPinCacheKeyGenerator keyGen)
 {
     _logger      = logger;
     _context     = context;
     _cacheClient = cacheClient;
     _keyGen      = keyGen;
 }