Show / Hide Table of Contents

Interface IMemoizationCache

Interface representing a cache to store memoization entries for a memoized function.

Inherited Members
IClearable.Clear()
Namespace: System.Memory
Assembly: Nuqleon.Memory.dll
Syntax
public interface IMemoizationCache : IClearable, IDisposable

Properties

Count

Gets the number of entries in the cache.

Declaration
int Count { get; }
Property Value
Type Description
System.Int32

DebugView

Gets a debug view on the memoization cache.

Declaration
string DebugView { get; }
Property Value
Type Description
System.String

Extension Methods

MemoizationCacheExtensions.AsTrimmableByArgumentAndResult<T, TResult>(IMemoizationCache)
MemoizationCacheExtensions.AsTrimmableByArgumentAndResultOrError<T, TResult>(IMemoizationCache)
MemoizationCacheExtensions.AsTrimmableByMetrics(IMemoizationCache)
MemoizationCacheExtensions.ToTrimmableByArgumentAndResult<T, TResult>(IMemoizationCache)
MemoizationCacheExtensions.ToTrimmableByArgumentAndResultOrError<T, TResult>(IMemoizationCache)
MemoizationCacheExtensions.ToTrimmableByMetrics(IMemoizationCache)
In This Article
Back to top Generated by DocFX