Simple and high-performance caching of properties or parameterless methods with a single [Memo] custom attribute thanks to Metalama.
$ dotnet add package Metalama.Patterns.MemoizationThe Metalama.Patterns.Memoization package introduces a memoization aspect via the MemoizationAttribute. This attribute caches the return value of a read-only property or a parameterless method within the type itself.
Metalama.Patterns.Caching.Aspects is a comprehensive aspect-oriented caching framework. It is also compatible with methods that have parameters.