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