MemoryCache
MemoryCache(IOptions<MemoryCacheOptions>)
MemoryCache(IOptions<MemoryCacheOptions>, ILoggerFactory)
~MemoryCache()
Count
Keys
Clear()
Compact(Double)
CreateEntry(Object)
Dispose()
Dispose(Boolean)
GetCurrentStatistics()
Remove(Object)
TryGetValue(Object, Object)
TryGetValue(ReadOnlySpan<Char>, Object)
TryGetValue<TItem>(ReadOnlySpan<Char>, TItem)
net10.0
namespace Microsoft.Extensions.Caching.Memory
{
public class MemoryCache : IMemoryCache, IDisposable
{
public void Remove(object! key);
}
}
| nuget.org | 0.1 % Reference this API |
|---|---|
| .NET | 5.06.07.08.09.010.0 |
| .NET Core | 3.03.1 |
| .NET Framework | 4.6.24.74.7.14.7.24.84.8.1 |
Information specific to net10.0 | |
| Assembly | Microsoft.Extensions.Caching.Memory , Version=10.0.0.0, PublicKeyToken=adb9793829ddae60 |
| Referencing | Requires any:
|
| Platform Restrictions | This API is supported on all platforms. |
- Built-in API
- Package-provided API