MetalamaAPI documentationPatterns APIMetalama.​Patterns.​Caching.​Backends.​RedisRedis­Cache­Synchronizer­ConfigurationRedis­Cache­Synchronizer­Configuration
Open sandboxFocus

RedisCacheSynchronizerConfiguration Constructor

RedisCacheSynchronizerConfiguration()

Declaration
public RedisCacheSynchronizerConfiguration()

RedisCacheSynchronizerConfiguration(ConfigurationOptions, string?)

Declaration
[Obsolete("Use the default constructor and use RedisCacheSynchronizerBuilder.WithNewRedisConnection.")]
public RedisCacheSynchronizerConfiguration(ConfigurationOptions redisConnectionOptions, string? prefix = null)
Parameters
Type Name Description
ConfigurationOptions redisConnectionOptions
string prefix

RedisCacheSynchronizerConfiguration(IConnectionMultiplexer, string?)

Declaration
[Obsolete("Use the default constructor and use RedisCacheSynchronizerBuilder.WithRedisConnection.")]
public RedisCacheSynchronizerConfiguration(IConnectionMultiplexer connection, string? prefix = null)
Parameters
Type Name Description
IConnectionMultiplexer connection
string prefix