Open sandboxFocus

Class CachingConfigurationAttribute

Custom attribute that, when applied on a type, configures the CacheAttribute aspects applied to the methods of this type or its derived types. When applied to an assembly, the CachingConfigurationAttribute custom attribute configures all methods of the current assembly.

Inheritance
CachingConfigurationAttribute
Namespace: Metalama.Patterns.Caching.Aspects
Assembly: Metalama.Patterns.Caching.Aspects.dll
Syntax
[AttributeUsage(AttributeTargets.Assembly|AttributeTargets.Class)]
[RunTimeOrCompileTime]
public sealed class CachingConfigurationAttribute : CachingBaseAttribute, IHierarchicalOptionsProvider
Remarks

Any CachingConfigurationAttribute on the base class has always priority over a CachingConfigurationAttribute on the assembly, even if the base class is in a different assembly.

Constructors

Name Description
CachingConfigurationAttribute()