RedisCachingBackendConfiguration()
Initializes a new instance of the RedisCachingBackendConfiguration class.
Declaration
public RedisCachingBackendConfiguration()RedisCachingBackendConfiguration(ConfigurationOptions, string?)
Initializes a new instance of the RedisCachingBackendConfiguration class that creates a new StackExchange.Redis.IConnectionMultiplexer.
Declaration
[Obsolete("Use the default constructor and the NewConnectionOptions property.")]
public RedisCachingBackendConfiguration(ConfigurationOptions redisConnectionOptions, string? keyPrefix = null)Parameters
| Type | Name | Description |
|---|---|---|
| ConfigurationOptions | redisConnectionOptions | |
| string | keyPrefix |
RedisCachingBackendConfiguration(IConnectionMultiplexer, ConfigurationOptions?, string?)
Initializes a new instance of the RedisCachingBackendConfiguration class that with a given StackExchange.Redis.IConnectionMultiplexer.
Declaration
[Obsolete("Use the default constructor and the Connection .")]
public RedisCachingBackendConfiguration(IConnectionMultiplexer connection, ConfigurationOptions? configurationOptions, string? keyPrefix = null)Parameters
| Type | Name | Description |
|---|---|---|
| IConnectionMultiplexer | connection | |
| ConfigurationOptions | configurationOptions | |
| string | keyPrefix |
RedisCachingBackendConfiguration(RedisCachingBackendConfiguration)
Declaration
protected RedisCachingBackendConfiguration(RedisCachingBackendConfiguration original)Parameters
| Type | Name | Description |
|---|---|---|
| RedisCachingBackendConfiguration | original |