MetalamaAPI documentationPatterns APIMetalama.​Patterns.​Caching.​Aspects.​ConfigurationCaching­Options­BuilderSliding­Expiration
Open sandboxFocus

CachingOptionsBuilder.SlidingExpiration Property

SlidingExpiration

Gets or sets the duration 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.

Declaration
public Nullable<TimeSpan> SlidingExpiration { get; set; }
Property Value
Type Description
System.Nullable<System.TimeSpan>