Assembly: PostSharp.Patterns.Caching (in PostSharp.Patterns.Caching.dll) Version: 22.214.171.124 (126.96.36.199)
public sealed class CacheConfigurationAttribute : Attribute
Thetype exposes the following members.
Initializes a new instance of theclass
Gets or sets the total duration, in minutes, during which the result of the cached method is stored in cache. The absolute expiration time is counted from the moment the method is evaluated and cached.
Determines whether the method calls are automatically reloaded (by re-evaluating the target method with the same arguments) when the cache item is removed from the cache.
Determines whether the this instance should be a part of the cache key. The default value of this property is false, which means that by default the this instance is a part of the cache key.
Gets or sets the priority of the cached method.
Gets or sets the name of the CachingProfile that contains the configuration of the cached methods.
Gets or sets the duration, in minutes, 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.
Anyon the base class has always priority over a on the assembly, even if the base class is in a different assembly.