27 references to CacheEntryRemovedReason
System.Runtime.Caching (27)
System\Runtime\Caching\CacheEntryRemovedArguments.cs (3)
10
private readonly
CacheEntryRemovedReason
_reason;
17
public
CacheEntryRemovedReason
RemovedReason
27
public CacheEntryRemovedArguments(ObjectCache source,
CacheEntryRemovedReason
reason, CacheItem cacheItem)
System\Runtime\Caching\CacheEntryUpdateArguments.cs (3)
11
private readonly
CacheEntryRemovedReason
_reason;
22
public
CacheEntryRemovedReason
RemovedReason
49
public CacheEntryUpdateArguments(ObjectCache source,
CacheEntryRemovedReason
reason, string key, string regionName)
System\Runtime\Caching\CacheExpires.cs (1)
710
cacheStore.Remove(cacheEntry, cacheEntry,
CacheEntryRemovedReason
.Expired);
System\Runtime\Caching\CacheUsage.cs (1)
776
cacheStore.Remove(cacheEntry, cacheEntry,
CacheEntryRemovedReason
.Evicted);
System\Runtime\Caching\MemoryCache.cs (7)
121
CacheEntryRemovedReason
reason = arguments.RemovedReason;
124
case
CacheEntryRemovedReason
.Expired:
126
case
CacheEntryRemovedReason
.ChangeMonitorChanged:
135
case
CacheEntryRemovedReason
.Evicted:
524
internal MemoryCacheEntry RemoveEntry(string key, MemoryCacheEntry entry,
CacheEntryRemovedReason
reason)
756
return Remove(key,
CacheEntryRemovedReason
.Removed, regionName);
759
public object Remove(string key,
CacheEntryRemovedReason
reason, string regionName = null)
System\Runtime\Caching\MemoryCacheEntry.cs (3)
175
private void CallCacheEntryRemovedCallback(MemoryCache cache,
CacheEntryRemovedReason
reason)
237
_fields._cache.RemoveEntry(this.Key, this,
CacheEntryRemovedReason
.ChangeMonitorChanged);
241
internal void Release(MemoryCache cache,
CacheEntryRemovedReason
reason)
System\Runtime\Caching\MemoryCacheStore.cs (9)
97
private void RemoveFromCache(MemoryCacheEntry entry,
CacheEntryRemovedReason
reason, bool delayRelease = false)
204
RemoveFromCache(toBeReleasedEntry,
CacheEntryRemovedReason
.Expired, delayRelease: true);
215
toBeReleasedEntry?.Release(_cache,
CacheEntryRemovedReason
.Expired);
277
RemoveFromCache(entry,
CacheEntryRemovedReason
.CacheSpecificEviction);
295
Remove(key, entry,
CacheEntryRemovedReason
.Expired);
303
internal MemoryCacheEntry Remove(MemoryCacheKey key, MemoryCacheEntry entryToRemove,
CacheEntryRemovedReason
reason)
355
CacheEntryRemovedReason
reason =
CacheEntryRemovedReason
.Removed;
360
reason =
CacheEntryRemovedReason
.Expired;