Encapsulates information about a method being cached. This cached is used by the implementation of ICachingService and you can use it if you override the CacheKeyBuilder class.
Namespace: Metalama.Patterns.Caching
Assembly: Metalama.Patterns.Caching.dll
Syntax
public sealed class CachedMethodMetadataProperties
| Name | Description |
|---|---|
| IgnoreThisParameter | Gets a value indicating whether the |
| Method | Gets the MethodInfo of the method. |
Methods
| Name | Description |
|---|---|
| ForCallingMethod(CachedMethodConfiguration?, int) | Gets or registers the metadata for the calling method. |
| IsParameterIgnored(int) | Determines whether a parameter at a specific index should be excluded from the cache key. |
| Register(MethodInfo, CachedMethodConfiguration?, bool) | Registers a cached method and returns its metadata. |