Implemented interface member:
property
Key
Microsoft.Extensions.Caching.Memory.ICacheEntry.Key
1 write to Key
Microsoft.Extensions.Caching.Memory (1)
CacheEntry.cs (1)
43
Key
= key;
8 references to Key
Microsoft.Extensions.Caching.Memory (8)
CacheEntry.CacheEntryTokens.cs (1)
130
registration.EvictionCallback?.Invoke(entry.
Key
, entry.Value, entry.EvictionReason, registration.State);
MemoryCache.cs (7)
144
if (coherentState._entries.TryGetValue(entry.
Key
, out CacheEntry? priorEntry))
163
entryAdded = coherentState._entries.TryAdd(entry.
Key
, entry);
168
entryAdded = coherentState._entries.TryUpdate(entry.
Key
, entry, priorEntry);
175
entryAdded = coherentState._entries.TryAdd(entry.
Key
, entry);
458
Debug.Assert(entry.
Key
== priorEntry.
Key
);
690
if (EntriesCollection.Remove(new KeyValuePair<object, CacheEntry>(entry.
Key
, entry)))