public AzureRedisCacheService(IOperationContextService operationContextService, IAzureRedisConnection azureRedisConnection) { this._operationContextService = operationContextService; if (azureRedisConnection.Enabled) { _redisContext = new Lazy <RedisContext>(() => new RedisContext(azureRedisConnection.ConnectionMultiplexer)); } //To make this library's context: }
public AzureRedisPubSubService(IAzureRedisConnection azureRedisConnection) { _azureRedisConnection = azureRedisConnection; }