1 write to _items
System.IdentityModel (1)
System\IdentityModel\BoundedCache.cs (1)
62
_items
= new Dictionary<string, ExpirableItem<T>>(keyComparer);
15 references to _items
System.IdentityModel (15)
System\IdentityModel\BoundedCache.cs (15)
106
_items
.Clear();
126
if (
_items
.Count >= _capacity)
175
return
_items
;
200
foreach (string key in
_items
.Keys)
202
if (
_items
[key].IsExpired())
210
_items
.Remove(expiredItems[i]);
257
if (
_items
.ContainsKey(key))
263
_items
[key] = new ExpirableItem<T>(item, expirationTime);
287
if (
_items
.ContainsKey(key) && !
_items
[key].IsExpired())
318
if (
_items
.ContainsKey(key))
320
if (!
_items
[key].IsExpired())
322
item =
_items
[key].Item;
350
if (!
_items
.ContainsKey(key))
355
_items
.Remove(key);