25 references to CacheEntryRemovedReason
System.Runtime.Caching (25)
System\Caching\CacheEntryRemovedArguments.cs (3)
12
private
CacheEntryRemovedReason
_reason;
18
public
CacheEntryRemovedReason
RemovedReason {
26
public CacheEntryRemovedArguments(ObjectCache source,
CacheEntryRemovedReason
reason, CacheItem cacheItem) {
System\Caching\CacheEntryUpdateArguments.cs (3)
9
private
CacheEntryRemovedReason
_reason;
19
public
CacheEntryRemovedReason
RemovedReason {
41
public CacheEntryUpdateArguments(ObjectCache source,
CacheEntryRemovedReason
reason, String key, String regionName) {
System\Caching\MemoryCache.cs (7)
101
CacheEntryRemovedReason
reason = arguments.RemovedReason;
103
case
CacheEntryRemovedReason
.Expired:
105
case
CacheEntryRemovedReason
.ChangeMonitorChanged:
113
case
CacheEntryRemovedReason
.Evicted:
464
internal MemoryCacheEntry RemoveEntry(string key, MemoryCacheEntry entry,
CacheEntryRemovedReason
reason) {
665
return Remove(key,
CacheEntryRemovedReason
.Removed, regionName);
669
public object Remove(string key,
CacheEntryRemovedReason
reason, string regionName = null) {
System\Caching\MemoryCacheEntry.cs (3)
152
private void CallCacheEntryRemovedCallback(MemoryCache cache,
CacheEntryRemovedReason
reason) {
198
_fields._cache.RemoveEntry(this.Key, this,
CacheEntryRemovedReason
.ChangeMonitorChanged);
202
internal void Release(MemoryCache cache,
CacheEntryRemovedReason
reason) {
System\Caching\MemoryCacheStore.cs (9)
80
private void RemoveFromCache(MemoryCacheEntry entry,
CacheEntryRemovedReason
reason, bool delayRelease = false) {
169
RemoveFromCache(toBeReleasedEntry,
CacheEntryRemovedReason
.Expired, delayRelease:true);
180
toBeReleasedEntry.Release(_cache,
CacheEntryRemovedReason
.Expired);
230
RemoveFromCache(entry,
CacheEntryRemovedReason
.CacheSpecificEviction);
247
Remove(key, entry,
CacheEntryRemovedReason
.Expired);
255
internal MemoryCacheEntry Remove(MemoryCacheKey key, MemoryCacheEntry entryToRemove,
CacheEntryRemovedReason
reason) {
297
CacheEntryRemovedReason
reason =
CacheEntryRemovedReason
.Removed;
300
reason =
CacheEntryRemovedReason
.Expired;