/// <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; }
/// <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; }
public LogBatchService(ICacheService cacheService, ILogRepository logRepository, IClientCacheService clientCacheService) { this.cacheService = cacheService; this.clientCacheService = clientCacheService; this.logRepository = logRepository; }