PostSharp 6.10 / / Post­Sharp Documentation / API Reference / Post­Sharp.​Patterns.​Caching.​Backends.​Redis Namespace / Redis­Caching­Backend­Configuration Class / Redis­Caching­Backend­Configuration Properties / Redis­Caching­Backend­Configuration.​Owns­Connection Property

RedisCachingBackendConfiguration.OwnsConnection Property

Determines whether the RedisCachingBackend should dispose the Redis connection when the RedisCachingBackend itself is disposed.

Namespace:  PostSharp.Patterns.Caching.Backends.Redis
Assembly:  PostSharp.Patterns.Caching.Backends.Redis (in PostSharp.Patterns.Caching.Backends.Redis.dll) Version: 6.10.14.0 (6.10.14.0)
Syntax
C#
public bool OwnsConnection { get; set; }

Property Value

Type: Boolean
See Also