PostSharp 6.5 / / Post­Sharp Documentation / API Reference / Post­Sharp.​Patterns.​Caching.​Backends.​Redis Namespace / Redis­Cache­Invalidator­Options Class / Redis­Cache­Invalidator­Options Properties / Redis­Cache­Invalidator­Options.​Owns­Connection Property

RedisCacheInvalidatorOptions.OwnsConnection Property

Determines whether disposing the RedisCacheInvalidator also disposes the Redis connection. The default value is false.

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

Property Value

Type: Boolean
See Also