3 instantiations of Item
System.ServiceModel.Internals (3)
System\Runtime\Collections\ObjectCache.cs (3)
82
return new
Item
(key, value, this.DisposeItemCallback);
123
return new
Item
(key, createdObject, this.DisposeItemCallback);
136
Item cacheItem = new
Item
(key, value, this);
11 references to Item
System.ServiceModel.Internals (11)
System\Runtime\Collections\ObjectCache.cs (11)
25
Dictionary<TKey,
Item
> cacheItems;
41
this.cacheItems = new Dictionary<TKey,
Item
>(comparer);
100
Item
cacheItem = null;
134
Item
InternalAdd(TKey key, TValue value)
136
Item
cacheItem = new Item(key, value, this);
148
bool Return(TKey key,
Item
cacheItem)
212
bool ShouldPurgeItem(
Item
cacheItem, DateTime now)
234
void GatherExpiredItems(ref List<KeyValuePair<TKey,
Item
>> expiredItems, bool calledFromTimer)
251
foreach (KeyValuePair<TKey,
Item
> cacheItem in this.cacheItems)
280
List<KeyValuePair<TKey,
Item
>> itemsToClose = null;
300
foreach (
Item
item in this.cacheItems.Values)