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)
103
var instanceName =
_options
.InstanceName;
292
if (
_options
.ConnectionMultiplexerFactory is null)
294
connection = ConnectionMultiplexer.Connect(
_options
.GetConfiguredOptions());
298
connection =
_options
.ConnectionMultiplexerFactory().GetAwaiter().GetResult();
336
if (
_options
.ConnectionMultiplexerFactory is null)
338
connection = await ConnectionMultiplexer.ConnectAsync(
_options
.GetConfiguredOptions()).ConfigureAwait(false);
342
connection = await
_options
.ConnectionMultiplexerFactory().ConfigureAwait(false);
368
if (
_options
.ProfilingSession is not null)
370
connection.RegisterProfiler(
_options
.ProfilingSession);
635
if (
_options
.UseForceReconnect && (exception is RedisConnectionException or SocketException))