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 Metalama.Patterns.Caching.Backends.Redis.RedisCachingBackend should dispose the Redis connection when the Metalama.Patterns.Caching.Backends.Redis.RedisCachingBackend itself is disposed. The default value is false.

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