1 write to cacheItems
System.ServiceModel.Internals (1)
System\Runtime\Collections\ObjectCache.cs (1)
41
this.
cacheItems
= new Dictionary<TKey, Item>(comparer);
11 references to cacheItems
System.ServiceModel.Internals (11)
System\Runtime\Collections\ObjectCache.cs (11)
69
return this.
cacheItems
.Count;
79
if (this.Count >= this.settings.CacheLimit || this.
cacheItems
.ContainsKey(key))
104
if (this.
cacheItems
.TryGetValue(key, out cacheItem))
142
this.
cacheItems
.Add(key, cacheItem);
167
bool removedFromItems = this.
cacheItems
.Remove(key);
251
foreach (KeyValuePair<TKey, Item> cacheItem in this.
cacheItems
)
265
this.
cacheItems
.Remove(expiredItems[i].Key);
300
foreach (Item item in this.
cacheItems
.Values)
308
this.
cacheItems
.Clear();
401
this.parent.
cacheItems
.Remove(this.key);
407
Fx.Assert(this.parent.
cacheItems
.ContainsValue(this), "should have a valid value");