Microsoft.Extensions.Caching.Memory Namespace

namespace Microsoft.Extensions.Caching.Memory

Interfaces

interface ICacheEntry
Represents an entry in the Microsoft.Extensions.Caching.Memory.IMemoryCache implementation.
interface IMemoryCache
Represents a local in-memory cache whose values are not serialized.

Delegates

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

Classes

class CacheEntryExtensions
class CacheExtensions
class MemoryCache
An implementation of Microsoft.Extensions.Caching.Memory.IMemoryCache using a dictionary to store its entries.
class MemoryCacheEntryExtensions
class MemoryCacheEntryOptions
class MemoryCacheOptions
class PostEvictionCallbackRegistration

Enumerations

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