PostSharp 6.7 / / Post­Sharp Documentation / API Reference / Post­Sharp.​Patterns.​Caching.​Implementation Namespace / ICache­Item­Configuration Interface / ICache­Item­Configuration Properties / ICache­Item­Configuration.​Sliding­Expiration Property

ICacheItemConfiguration.SlidingExpiration Property

Gets or sets the duration during which the result of the cached methods 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.Implementation
Assembly:  PostSharp.Patterns.Caching (in PostSharp.Patterns.Caching.dll) Version: 6.7.12.0 (6.7.12.0)
Syntax
C#
Nullable<TimeSpan> SlidingExpiration { get; }

Property Value

Type: Nullable<TimeSpan>
See Also