PostSharp 2023.0 / / Post­Sharp Documentation / API Reference / Post­Sharp.​Patterns.​Caching Namespace / Cache­Attribute Class / Cache­Attribute Properties / Cache­Attribute.​Absolute­Expiration Property

CacheAttribute.AbsoluteExpiration Property

Gets or sets the total duration, in minutes, 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: 2023.0.3.0 (2023.0.3.0)
public double AbsoluteExpiration { get; set; }

Property Value

Type: Double
See Also