PostSharpAPI ReferencePost­Sharp.​Patterns.​CachingCache­AttributeSliding­Expiration
Open sandboxFocus

CacheAttribute.SlidingExpiration Property

SlidingExpiration

Gets or sets the duration, in minutes, during which the result of the current 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.

Declaration
public double SlidingExpiration { get; set; }
Property Value
Type Description
Double