MetalamaAPI documentationPatterns APIMetalama.​Patterns.​Caching.​Backends.​RedisRedis­Caching­Backend­ConfigurationOwns­Connection
Open sandboxFocus

RedisCachingBackendConfiguration.OwnsConnection Property

OwnsConnection

Gets or sets a value indicating whether determines whether the RedisCachingBackend should dispose the Redis connection when the RedisCachingBackend itself is disposed. The default value is false.

Declaration
public bool OwnsConnection { get; init; }
Property Value
Type Description
bool