示例#1
0
 /// <summary>
 ///
 /// </summary>
 /// <param name="clientCacheService"></param>
 /// <param name="settings"></param>
 public HeaderFilter(
     IClientCacheService clientCacheService,
     IOptions <AppSettings> settings,
     string cacheKey)
 {
     this.settings           = settings.Value;
     this.clientCacheService = clientCacheService;
     this.cacheKey           = cacheKey;
 }
示例#2
0
 /// <summary>
 ///
 /// </summary>
 /// <param name="repo"></param>
 /// <param name="memCachedService"></param>
 /// <param name="clientCacheService"></param>
 /// <param name="settings"></param>
 public TestService(
     ITestRepository repo,
     IMemCachedService memCachedService,
     IClientCacheService clientCacheService,
     IOptions <AppSettings> settings)
 {
     this.repo               = repo;
     this.memCachedService   = memCachedService;
     this.clientCacheService = clientCacheService;
     this.settings           = settings.Value;
 }
示例#3
0
 public LogBatchService(ICacheService cacheService, ILogRepository logRepository, IClientCacheService clientCacheService)
 {
     this.cacheService       = cacheService;
     this.clientCacheService = clientCacheService;
     this.logRepository      = logRepository;
 }