Exemplo n.º 1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="T:EasyCaching.Redis.RedisDatabaseProvider"/> class.
 /// </summary>
 /// <param name="options">Options.</param>
 public RedisDatabaseProvider(IOptions <RedisOptions> options)
 {
     _options = options.Value;
     _connectionMultiplexer = new Lazy <ConnectionMultiplexer>(CreateConnectionMultiplexer);
 }