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;
9 references to Key
Microsoft.Extensions.Caching.Memory (9)
CacheEntry.CacheEntryTokens.cs (1)
130
registration.EvictionCallback?.Invoke(entry.
Key
, entry.Value, entry.EvictionReason, registration.State);
MemoryCache.cs (8)
138
if (coherentState.TryGetValue(entry.
Key
, out CacheEntry? priorEntry))
157
entryAdded = coherentState.TryAdd(entry.
Key
, entry);
162
entryAdded = coherentState.TryUpdate(entry.
Key
, entry, priorEntry);
169
entryAdded = coherentState.TryAdd(entry.
Key
, entry);
452
Debug.Assert(entry.
Key
== priorEntry.
Key
);
725
if (entry.
Key
is string s)
736
else if (NonStringEntriesCollection.Remove(new KeyValuePair<object, CacheEntry>(entry.
Key
, entry)))