1 instantiation of MemoryCache
System.Runtime.Caching (1)
System\Runtime\Caching\MemoryCache.cs (1)
270
s_defaultCache ??= new
MemoryCache
();
20 references to MemoryCache
System.Runtime.Caching (20)
System\Runtime\Caching\CacheMemoryMonitor.cs (2)
27
private readonly
MemoryCache
_memoryCache;
45
internal CacheMemoryMonitor(
MemoryCache
memoryCache, int cacheMemoryLimitMegabytes)
System\Runtime\Caching\Hosting\IMemoryCacheManager.cs (2)
10
void UpdateCacheSize(long size,
MemoryCache
cache);
11
void ReleaseCache(
MemoryCache
cache);
System\Runtime\Caching\MemoryCache.cs (4)
30
private static
MemoryCache
s_defaultCache;
119
MemoryCache
cache = arguments.Source as
MemoryCache
;
262
public static
MemoryCache
Default
System\Runtime\Caching\MemoryCacheEntry.cs (5)
36
internal
MemoryCache
_cache;
113
MemoryCache
cache) : base(key)
159
internal void AddDependent(
MemoryCache
cache, MemoryCacheEntryChangeMonitor dependent)
175
private void CallCacheEntryRemovedCallback(
MemoryCache
cache, CacheEntryRemovedReason reason)
241
internal void Release(
MemoryCache
cache, CacheEntryRemovedReason reason)
System\Runtime\Caching\MemoryCacheEntryChangeMonitor.cs (3)
28
private void InitDisposableMembers(
MemoryCache
cache)
84
private void StartMonitoring(
MemoryCache
cache, MemoryCacheEntry entry, ref bool hasChanged, ref DateTime utcCreated)
134
internal MemoryCacheEntryChangeMonitor(ReadOnlyCollection<string> keys, string regionName,
MemoryCache
cache)
System\Runtime\Caching\MemoryCacheStatistics.cs (2)
38
private readonly
MemoryCache
_memoryCache;
257
internal MemoryCacheStatistics(
MemoryCache
memoryCache, NameValueCollection config)
System\Runtime\Caching\MemoryCacheStore.cs (2)
27
private readonly
MemoryCache
_cache;
37
internal MemoryCacheStore(
MemoryCache
cache, Counters perfCounters)