A service that caches declarations of the current compilation. It is typically used to cache often-used declarations across aspect instances.
Namespace: Metalama.Framework.Code
Assembly: Metalama.Framework.dll
Syntax
[CompileTime]
[InternalImplement]
public interface IDeclarationCacheMethods
| Name | Description |
|---|---|
| GetOrAdd<T>(Func<ICompilation, T>) | Gets an item from the cache or computes it and add its. |