Table of Contents

Class MemoizeAttribute

Namespace
Velvet
Assembly
Velvet.Docs.dll

Marks a method as a per-method auto-memoization target recognized by the Source Generator. The annotated partial method is expanded into a V.Memoized(...) wrapper.

[AttributeUsage(AttributeTargets.Method, Inherited = false)]
public sealed class MemoizeAttribute : Attribute
Inheritance
object
Attribute
MemoizeAttribute