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