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
{
[OverloadResolutionPriority(1)]
public bool TryGetValue<TItem>(ReadOnlySpan<char> key, out TItem value);
}
}
| nuget.org | 0.0 % Reference this API |
|---|---|
| Design Reviews |
|
| .NET | 9.010.0 |
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