Skip to main content
.NETFramework4.7.2net8.0.NETStandard2.0

Simple and high-performance caching of properties or parameterless methods with a single [Memo] custom attribute thanks to Metalama.

Published
May 15, 2026
5mo ago
Total Downloads
94.7K
94,697

Install

dotnet add package Metalama.Patterns.Memoization --version 2026.1.15-rc
ProductVersions
.NET
net8.0
.NET Standard
netstandard2.0
Other
.NETFramework4.7.2

README

Metalama Logo

About

The 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.

Key Features

  • Efficient memoization of read-only properties or parameterless methods.

Main Types

Additional Documentation

Related Packages

  • Metalama.Patterns.Caching.Aspects is a comprehensive aspect-oriented caching framework. It is also compatible with methods that have parameters.

Changes from Previous Version

No structural changes between v2026.1.14-rc and v2026.1.15-rc.

Adoption Assessment

A verified publisher signal is available. Assess fit from the package's supported frameworks, license and dependency graph rather than popularity alone.

This version is marked prerelease. Validate its API and upgrade path before production use.Compatibility metadata lists 3 target frameworks; confirm the exact target used by your application.

Related Guides & Workflows

Learn how to evaluate, integrate, or audit this package in your .NET project.