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