MemoryCache
MemoryCache(IOptions<MemoryCacheOptions>)
MemoryCache(IOptions<MemoryCacheOptions>, ILoggerFactory)
MemoryCache(IOptions<MemoryCacheOptions>, ILoggerFactory, IMeterFactory)
~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)
net11.0-windows7.0
namespace Microsoft.Extensions.Caching.Memory
{
public class MemoryCache : IMemoryCache, IDisposable
{
[OverloadResolutionPriority(1)]
public bool TryGetValue(ReadOnlySpan<char> key, out object? value);
}
}
| nuget.org | 0.5 % Reference this API |
|---|---|
| .NET | 9.010.011.0 |
Information specific to net11.0 | |
| Platforms | This API is only available when you target a specific platform: |
| Windows | 7.0 |
Information specific to net11.0-windows7.0 | |
| Assembly | Microsoft.Extensions.Caching.Memory , Version=10.0.0.0, PublicKeyToken=adb9793829ddae60 |
| Referencing | Your project needs a package reference to |
| Package | Microsoft.Extensions.Caching.Memory (10.0.13) net9.0 |
| Platform Restrictions | This API is supported on all platforms. |
- Built-in API
- Package-provided API