1 instantiation of RedisCacheOptions
Microsoft.Extensions.Caching.StackExchangeRedis.Tests (1)
Infrastructure\RedisTestConfig.cs (1)
26return new RedisCache(new RedisCacheOptions()
14 references to RedisCacheOptions
Aspire.StackExchange.Redis.DistributedCaching (4)
AspireRedisDistributedCacheExtensions.cs (4)
34builder.AddRedisDistributedCacheCore((RedisCacheOptions options, IServiceProvider sp) => 57builder.AddRedisDistributedCacheCore((RedisCacheOptions options, IServiceProvider sp) => 63private static void AddRedisDistributedCacheCore(this IHostApplicationBuilder builder, Action<RedisCacheOptions, IServiceProvider> configureRedisOptions) 67builder.Services.AddOptions<RedisCacheOptions>() // note that RedisCacheOptions doesn't support named options
Microsoft.Extensions.Caching.StackExchangeRedis (10)
RedisCache.cs (3)
46private readonly RedisCacheOptions _options; 82public RedisCache(IOptions<RedisCacheOptions> optionsAccessor) 92internal RedisCache(IOptions<RedisCacheOptions> optionsAccessor, ILogger logger)
RedisCacheImpl.cs (2)
11public RedisCacheImpl(IOptions<RedisCacheOptions> optionsAccessor, ILogger<RedisCache> logger) 16public RedisCacheImpl(IOptions<RedisCacheOptions> optionsAccessor)
RedisCacheOptions.cs (3)
16public class RedisCacheOptions : IOptions<RedisCacheOptions> 45RedisCacheOptions IOptions<RedisCacheOptions>.Value
StackExchangeRedisCacheServiceCollectionExtensions.cs (2)
22/// <see cref="RedisCacheOptions"/>.</param> 24public static IServiceCollection AddStackExchangeRedisCache(this IServiceCollection services, Action<RedisCacheOptions> setupAction)