3 instantiations of PostEvictionCallbackRegistration
Microsoft.AspNetCore.Components.Server (1)
Circuits\CircuitRegistry.cs (1)
61_postEvictionCallback = new PostEvictionCallbackRegistration
Microsoft.Extensions.Caching.Abstractions (2)
CacheEntryExtensions.cs (1)
125entry.PostEvictionCallbacks.Add(new PostEvictionCallbackRegistration()
MemoryCacheEntryExtensions.cs (1)
135options.PostEvictionCallbacks.Add(new PostEvictionCallbackRegistration()
15 references to PostEvictionCallbackRegistration
Microsoft.AspNetCore.Components.Server (1)
Circuits\CircuitRegistry.cs (1)
44private readonly PostEvictionCallbackRegistration _postEvictionCallback;
Microsoft.AspNetCore.Mvc.TagHelpers.Test (4)
CacheTagHelperTest.cs (4)
216tempEntry.Setup(e => e.PostEvictionCallbacks).Returns(new List<PostEvictionCallbackRegistration>()); 220finalEntry.Setup(e => e.PostEvictionCallbacks).Returns(new List<PostEvictionCallbackRegistration>()); 979public IList<PostEvictionCallbackRegistration> PostEvictionCallbacks { get; } = 980new List<PostEvictionCallbackRegistration>();
Microsoft.Extensions.Caching.Abstractions (4)
CacheEntryExtensions.cs (1)
189PostEvictionCallbackRegistration postEvictionCallback = options.PostEvictionCallbacks[i];
ICacheEntry.cs (1)
50IList<PostEvictionCallbackRegistration> PostEvictionCallbacks { get; }
MemoryCacheEntryOptions.cs (2)
89public IList<PostEvictionCallbackRegistration> PostEvictionCallbacks { get; } 90= new List<PostEvictionCallbackRegistration>();
Microsoft.Extensions.Caching.Memory (6)
CacheEntry.CacheEntryTokens.cs (5)
22private List<PostEvictionCallbackRegistration>? _postEvictionCallbacks; // this is not really related to tokens, but was moved here to shrink typical CacheEntry size 25internal List<PostEvictionCallbackRegistration> PostEvictionCallbacks => _postEvictionCallbacks ??= new List<PostEvictionCallbackRegistration>(); 117List<PostEvictionCallbackRegistration>? callbackRegistrations = Interlocked.Exchange(ref entry._tokens._postEvictionCallbacks, null); 126PostEvictionCallbackRegistration registration = callbackRegistrations[i];
CacheEntry.cs (1)
145public IList<PostEvictionCallbackRegistration> PostEvictionCallbacks => GetOrCreateTokens().PostEvictionCallbacks;