RedisCacheOptions RedisCacheOptions RedisCacheOptions Class

Definition

Configuration options for RedisCache.

public class RedisCacheOptions : Microsoft.Extensions.Options.IOptions<Microsoft.Extensions.Caching.StackExchangeRedis.RedisCacheOptions>
type RedisCacheOptions = class
    interface IOptions<RedisCacheOptions>
Public Class RedisCacheOptions
Implements IOptions(Of RedisCacheOptions)
Inheritance
RedisCacheOptionsRedisCacheOptionsRedisCacheOptions
Implements

Constructors

RedisCacheOptions() RedisCacheOptions() RedisCacheOptions()

Properties

Configuration Configuration Configuration

The configuration used to connect to Redis.

ConfigurationOptions ConfigurationOptions ConfigurationOptions

The configuration used to connect to Redis. This is preferred over Configuration.

InstanceName InstanceName InstanceName

The Redis instance name.

Explicit Interface Implementations

IOptions<RedisCacheOptions>.Value IOptions<RedisCacheOptions>.Value IOptions<RedisCacheOptions>.Value

Applies to