1 write to _options
Microsoft.Extensions.Caching.StackExchangeRedis (1)
RedisCache.cs (1)
97
_options
= optionsAccessor.Value;
10 references to _options
Microsoft.Extensions.Caching.StackExchangeRedis (10)
RedisCache.cs (10)
101
var instanceName =
_options
.InstanceName;
290
if (
_options
.ConnectionMultiplexerFactory is null)
292
connection = ConnectionMultiplexer.Connect(
_options
.GetConfiguredOptions());
296
connection =
_options
.ConnectionMultiplexerFactory().GetAwaiter().GetResult();
334
if (
_options
.ConnectionMultiplexerFactory is null)
336
connection = await ConnectionMultiplexer.ConnectAsync(
_options
.GetConfiguredOptions()).ConfigureAwait(false);
340
connection = await
_options
.ConnectionMultiplexerFactory().ConfigureAwait(false);
366
if (
_options
.ProfilingSession is not null)
368
connection.RegisterProfiler(
_options
.ProfilingSession);
628
if (
_options
.UseForceReconnect && (exception is RedisConnectionException or SocketException))