1 write to _options
Microsoft.Extensions.Caching.StackExchangeRedis (1)
RedisCache.cs (1)
99_options = optionsAccessor.Value;
10 references to _options
Microsoft.Extensions.Caching.StackExchangeRedis (10)
RedisCache.cs (10)
103var instanceName = _options.InstanceName; 292if (_options.ConnectionMultiplexerFactory is null) 294connection = ConnectionMultiplexer.Connect(_options.GetConfiguredOptions()); 298connection = _options.ConnectionMultiplexerFactory().GetAwaiter().GetResult(); 336if (_options.ConnectionMultiplexerFactory is null) 338connection = await ConnectionMultiplexer.ConnectAsync(_options.GetConfiguredOptions()).ConfigureAwait(false); 342connection = await _options.ConnectionMultiplexerFactory().ConfigureAwait(false); 368if (_options.ProfilingSession is not null) 370connection.RegisterProfiler(_options.ProfilingSession); 635if (_options.UseForceReconnect && (exception is RedisConnectionException or SocketException))