1 instantiation of MemoryCache
System.Runtime.Caching (1)
System\Caching\MemoryCache.cs (1)
243s_defaultCache = new MemoryCache();
28 references to MemoryCache
System.Runtime.Caching (20)
System\Caching\CacheMemoryMonitor.cs (2)
26private MemoryCache _memoryCache; 42internal CacheMemoryMonitor(MemoryCache memoryCache, int cacheMemoryLimitMegabytes) {
System\Caching\Hosting\IMemoryCacheManager.cs (2)
8void UpdateCacheSize(long size, MemoryCache cache); 9void ReleaseCache(MemoryCache cache);
System\Caching\MemoryCache.cs (4)
28private static MemoryCache s_defaultCache; 99MemoryCache cache = arguments.Source as MemoryCache; 238public static MemoryCache Default {
System\Caching\MemoryCacheEntry.cs (5)
33internal MemoryCache _cache; 99MemoryCache cache) : base(key) { 134internal void AddDependent(MemoryCache cache, MemoryCacheEntryChangeMonitor dependent) { 152private void CallCacheEntryRemovedCallback(MemoryCache cache, CacheEntryRemovedReason reason) { 202internal void Release(MemoryCache cache, CacheEntryRemovedReason reason) {
System\Caching\MemoryCacheEntryChangeMonitor.cs (3)
25private void InitDisposableMembers(MemoryCache cache) { 71private void StartMonitoring(MemoryCache cache, MemoryCacheEntry entry, ref bool hasChanged, ref DateTime utcCreated) { 115internal MemoryCacheEntryChangeMonitor(ReadOnlyCollection<String> keys, String regionName, MemoryCache cache) {
System\Caching\MemoryCacheStatistics.cs (2)
35private MemoryCache _memoryCache; 192internal MemoryCacheStatistics(MemoryCache memoryCache, NameValueCollection config) {
System\Caching\MemoryCacheStore.cs (2)
25private MemoryCache _cache; 28internal MemoryCacheStore(MemoryCache cache, PerfCounters perfCounters) {
System.Web (8)
Hosting\ObjectCacheHost.cs (8)
17private Dictionary<MemoryCache, MemoryCacheInfo> _cacheInfos; 36internal MemoryCache Cache; 90void IMemoryCacheManager.ReleaseCache(MemoryCache memoryCache) { 104void IMemoryCacheManager.UpdateCacheSize(long size, MemoryCache memoryCache) { 110_cacheInfos = new Dictionary<MemoryCache, MemoryCacheInfo>(); 124MemoryCache[] caches = null; 127caches = new MemoryCache[_cacheInfos.Keys.Count]; 132foreach (MemoryCache cache in caches) {