1 type derived from RedisCache
Microsoft.Extensions.Caching.StackExchangeRedis (1)
RedisCacheImpl.cs (1)
12internal sealed class RedisCacheImpl : RedisCache
1 instantiation of RedisCache
Microsoft.Extensions.Caching.StackExchangeRedis.Tests (1)
Infrastructure\RedisTestConfig.cs (1)
26return new RedisCache(new RedisCacheOptions()
12 references to RedisCache
Aspire.StackExchange.Redis.DistributedCaching.Tests (1)
AspireRedisDistributedCacheExtensionsTests.cs (1)
24Assert.IsAssignableFrom<RedisCache>(cache);
Aspire.StackExchange.Redis.Tests (1)
AspireRedisExtensionsTests.cs (1)
227Assert.IsAssignableFrom<RedisCache>(distributedCache);
Microsoft.Extensions.Caching.Hybrid.Tests (1)
RedisTests.cs (1)
57Assert.IsAssignableFrom<RedisCache>(cache.BackendCache);
Microsoft.Extensions.Caching.StackExchangeRedis (5)
RedisCache.cs (3)
81/// Initializes a new instance of <see cref="RedisCache"/>. 85: this(optionsAccessor, Logging.Abstractions.NullLoggerFactory.Instance.CreateLogger<RedisCache>()) 90/// Initializes a new instance of <see cref="RedisCache"/>.
RedisCacheImpl.cs (1)
14public RedisCacheImpl(IOptions<RedisCacheOptions> optionsAccessor, ILogger<RedisCache> logger, IServiceProvider services)
RedisCacheOptions.cs (1)
14/// Configuration options for <see cref="RedisCache"/>.
Microsoft.Extensions.Caching.StackExchangeRedis.Tests (4)
CacheServiceExtensionsTests.cs (4)
55Assert.IsAssignableFrom<RedisCache>(serviceProvider.GetRequiredService<IDistributedCache>()); 126Assert.IsAssignableFrom<RedisCache>(serviceProvider.GetRequiredService<IDistributedCache>()); 149var cache = Assert.IsAssignableFrom<RedisCache>(provider.GetRequiredService<IDistributedCache>());