PostSharp6.3/API Reference/Post­Sharp.​Patterns.​Caching Namespace/Cache­Configuration­Attribute Class/Cache­Configuration­Attribute Properties/Cache­Configuration­Attribute.​Sliding­Expiration Property

CacheConfigurationAttribute.SlidingExpiration Property

Gets or sets the duration, in minutes, during which the result of the cached method is stored in cache after it has been added to or accessed from the cache. The expiration is extended every time the value is accessed from the cache.

Namespace:  PostSharp.Patterns.Caching
Assembly:  PostSharp.Patterns.Caching (in PostSharp.Patterns.Caching.dll) Version: 6.3.11.0 (6.3.11.0)
Syntax
C#
public double SlidingExpiration { get; set; }

Property Value

Type: Double
See Also