Microsoft.Extensions.Caching.Memory Namespace
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Classes
CacheEntryExtensions |
Provides extensions methods for ICacheEntry operations. |
CacheExtensions |
Provide extensions methods for IMemoryCache operations. |
MemoryCache |
An implementation of IMemoryCache using a dictionary to store its entries. |
MemoryCacheEntryExtensions |
Provides extensions methods for MemoryCacheEntryOptions operations. |
MemoryCacheEntryOptions |
Represents the cache options applied to an entry of the IMemoryCache instance. |
MemoryCacheOptions |
Specifies options for MemoryCache. |
MemoryCacheStatistics |
Holds a snapshot of statistics for a memory cache. |
MemoryDistributedCacheOptions |
Specifies options for MemoryDistributedCacheOptions. |
PostEvictionCallbackRegistration |
Represents a callback delegate that will be fired after an entry is evicted from the cache. |
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 |
Specifies the reasons why an entry was evicted from the cache. |
Delegates
PostEvictionDelegate |
Signature of the callback which gets called when a cache entry expires. |
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應