PostSharpAPI ReferencePost­Sharp.​Patterns.​CachingCaching­ProfileICache­Item­Configuration.​Sliding­Expiration
Open sandboxFocus

CachingProfile.ICacheItemConfiguration.SlidingExpiration Property

ICacheItemConfiguration.SlidingExpiration

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.

Declaration
Nullable<TimeSpan> ICacheItemConfiguration.SlidingExpiration { get; }
Returns
Type Description
System.Nullable<System.TimeSpan>
Implements
ICacheItemConfiguration.SlidingExpiration