MetalamaAPI documentationPatterns APIMetalama.​Patterns.​Caching.​AspectsCaching­Configuration­Attribute
Open sandboxFocus

CachingConfigurationAttribute Class

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
System.Object
CachingConfigurationAttribute
Namespace: Metalama.Patterns.Caching.Aspects
Assembly: Metalama.Patterns.Caching.Aspects.dll
Syntax
[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()