4 writes to ConnectionMultiplexerFactory
Aspire.StackExchange.Redis.DistributedCaching (2)
AspireRedisDistributedCacheExtensions.cs (2)
36options.ConnectionMultiplexerFactory = () => Task.FromResult(sp.GetRequiredService<IConnectionMultiplexer>()); 59options.ConnectionMultiplexerFactory = () => Task.FromResult(sp.GetRequiredKeyedService<IConnectionMultiplexer>(name));
Microsoft.Extensions.Caching.Hybrid.Tests (1)
RedisTests.cs (1)
36options.ConnectionMultiplexerFactory = () => Task.FromResult(redis);
Microsoft.Extensions.Caching.MicroBenchmarks (1)
DistributedCacheBenchmarks.cs (1)
64options.ConnectionMultiplexerFactory = () => Task.FromResult<IConnectionMultiplexer>(multiplexer);
4 references to ConnectionMultiplexerFactory
Microsoft.Extensions.Caching.StackExchangeRedis (4)
RedisCache.cs (4)
290if (_options.ConnectionMultiplexerFactory is null) 296connection = _options.ConnectionMultiplexerFactory().GetAwaiter().GetResult(); 334if (_options.ConnectionMultiplexerFactory is null) 340connection = await _options.ConnectionMultiplexerFactory().ConfigureAwait(false);