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;
8 references to Key
Microsoft.Extensions.Caching.Memory (8)
CacheEntry.CacheEntryTokens.cs (1)
130registration.EvictionCallback?.Invoke(entry.Key, entry.Value, entry.EvictionReason, registration.State);
MemoryCache.cs (7)
144if (coherentState._entries.TryGetValue(entry.Key, out CacheEntry? priorEntry)) 163entryAdded = coherentState._entries.TryAdd(entry.Key, entry); 168entryAdded = coherentState._entries.TryUpdate(entry.Key, entry, priorEntry); 175entryAdded = coherentState._entries.TryAdd(entry.Key, entry); 458Debug.Assert(entry.Key == priorEntry.Key); 690if (EntriesCollection.Remove(new KeyValuePair<object, CacheEntry>(entry.Key, entry)))