PostSharp 6.10 / / Post­Sharp Documentation / API Reference / Post­Sharp.​Patterns.​Caching Namespace / Caching­Profile Class / Caching­Profile Properties / Caching­Profile.​Absolute­Expiration Property

CachingProfile.AbsoluteExpiration Property

Gets or sets the total duration during which the result of the current method is stored in cache. The absolute expiration time is counted from the moment the method is evaluated and cached.

Namespace:  PostSharp.Patterns.Caching
Assembly:  PostSharp.Patterns.Caching (in PostSharp.Patterns.Caching.dll) Version: (
public Nullable<TimeSpan> AbsoluteExpiration { get; set; }

Property Value

Type: Nullable<TimeSpan>
See Also