Open sandboxFocus

Namespace Metalama.Patterns.Caching.Aspects

Classes

CacheAttribute

Custom attribute that, when applied on a method, causes the return value of the method to be cached for the specific list of arguments passed to this method call.

CacheKeyAttribute

Aspect that, when applied to a field or property, includes that member in the cache key generation for the declaring type when instances are used as parameters of cached methods.

CachingBaseAttribute

Abstract base class for CacheAttribute and CachingConfigurationAttribute, providing common caching configuration properties.

CachingConfigurationAttribute

Custom attribute that, when applied to 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.

InvalidateCacheAttribute

Aspect that, when applied to a method, causes an invocation of this method to remove from the cache the result of invocations of other given methods with the same parameter values.