Microsoft.Extensions.Caching.Memory Namespace

Classes

CacheEntryExtensions
CacheExtensions
MemoryCache

An implementation of IMemoryCache using a dictionary to store its entries.

MemoryCacheEntryExtensions
MemoryCacheEntryOptions

Represents the cache options applied to an entry of the IMemoryCache instance.

MemoryCacheOptions
MemoryCacheStatistics

Holds a snapshot of statistics for a memory cache.

MemoryDistributedCacheOptions
PostEvictionCallbackRegistration

Interfaces

ICacheEntry

Represents an entry in the IMemoryCache implementation.

IMemoryCache

Represents a local in-memory cache whose values are not serialized.

Enums

CacheItemPriority

Specifies how items are prioritized for preservation during a memory pressure triggered cleanup.

EvictionReason

Delegates

PostEvictionDelegate

Signature of the callback which gets called when a cache entry expires.