コード例 #1
0
 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:
 }
コード例 #2
0
 public AzureRedisPubSubService(IAzureRedisConnection azureRedisConnection)
 {
     _azureRedisConnection = azureRedisConnection;
 }