3 instantiations of CacheItem
System.Runtime.Caching (3)
System\Runtime\Caching\MemoryCache.cs (2)
592return new CacheItem(item.Key, AddOrGetExistingInternal(item.Key, item.Value, policy)); 612return (value != null) ? new CacheItem(key, value) : null;
System\Runtime\Caching\MemoryCacheEntry.cs (1)
181CacheEntryRemovedArguments args = new CacheEntryRemovedArguments(cache, reason, new CacheItem(Key, _value));
16 references to CacheItem
System.Runtime.Caching (16)
System\Runtime\Caching\CacheEntryRemovedArguments.cs (3)
8private readonly CacheItem _cacheItem; 12public CacheItem CacheItem 27public CacheEntryRemovedArguments(ObjectCache source, CacheEntryRemovedReason reason, CacheItem cacheItem)
System\Runtime\Caching\CacheEntryUpdateArguments.cs (2)
14private CacheItem _updatedCacheItem; 37public CacheItem UpdatedCacheItem
System\Runtime\Caching\MemoryCache.cs (6)
568public override bool Add(CacheItem item, CacheItemPolicy policy) 570CacheItem existingEntry = AddOrGetExisting(item, policy); 585public override CacheItem AddOrGetExisting(CacheItem item, CacheItemPolicy policy) 609public override CacheItem GetCacheItem(string key, string regionName = null) 626public override void Set(CacheItem item, CacheItemPolicy policy)
System\Runtime\Caching\ObjectCache.cs (5)
73public virtual bool Add(CacheItem item, CacheItemPolicy policy) 84public abstract CacheItem AddOrGetExisting(CacheItem value, CacheItemPolicy policy); 90public abstract CacheItem GetCacheItem(string key, string regionName = null); 94public abstract void Set(CacheItem item, CacheItemPolicy policy);