Implemented interface member:
property
Key
Microsoft.Extensions.Caching.Memory.ICacheEntry.Key
1 write to Key
Microsoft.Extensions.Caching.Memory (1)
CacheEntry.cs (1)
43Key = key;
6 references to Key
Microsoft.Extensions.Caching.Memory (6)
CacheEntry.CacheEntryTokens.cs (1)
130registration.EvictionCallback?.Invoke(entry.Key, entry.Value, entry.EvictionReason, registration.State);
MemoryCache.cs (5)
143if (coherentState._entries.TryGetValue(entry.Key, out CacheEntry? priorEntry)) 162entryAdded = coherentState._entries.TryAdd(entry.Key, entry); 167entryAdded = coherentState._entries.TryUpdate(entry.Key, entry, priorEntry); 182entryAdded = coherentState._entries.TryAdd(entry.Key, entry); 673if (EntriesCollection.Remove(new KeyValuePair<object, CacheEntry>(entry.Key, entry)))