Implemented interface member:
property
Key
Microsoft.Extensions.Caching.Memory.ICacheEntry.Key
1 write to Key
Microsoft.Extensions.Caching.Memory (1)
CacheEntry.cs (1)
42
Key
= key;
7 references to Key
Microsoft.Extensions.Caching.Memory (7)
CacheEntry.CacheEntryTokens.cs (1)
130
registration.EvictionCallback?.Invoke(entry.
Key
, entry.Value, entry.EvictionReason, registration.State);
MemoryCache.cs (6)
159
if (coherentState.TryGetValue(entry.
Key
, out CacheEntry? priorEntry))
178
entryAdded = coherentState.TryAdd(entry.
Key
, entry);
183
entryAdded = coherentState.TryUpdate(entry.
Key
, entry, priorEntry);
204
entryAdded = coherentState.TryAdd(entry.
Key
, entry);
875
if (entry.
Key
is string s ? _stringEntries.TryRemove(KeyValuePair.Create(s, entry))
876
: _nonStringEntries.TryRemove(KeyValuePair.Create(entry.
Key
, entry)))