3 implementations of CreateEntry
Microsoft.AspNetCore.Mvc.TagHelpers.Test (1)
CacheTagHelperTest.cs (1)
1000public ICacheEntry CreateEntry(object key)
Microsoft.Extensions.Caching.Hybrid.Tests (1)
StampedeTests.cs (1)
39ICacheEntry IMemoryCache.CreateEntry(object key) => throw new NotSupportedException("Intentionally not provided");
Microsoft.Extensions.Caching.Memory (1)
MemoryCache.cs (1)
105public ICacheEntry CreateEntry(object key)
15 references to CreateEntry
Microsoft.AspNetCore.Mvc.TagHelpers (1)
CacheTagHelper.cs (1)
113var entry = MemoryCache.CreateEntry(cacheKey);
Microsoft.AspNetCore.Mvc.TagHelpers.Test (6)
CacheTagHelperTest.cs (3)
35cache.Setup(c => c.CreateEntry( 57cache.Verify(c => c.CreateEntry( 226mockCache.SetupSequence(mc => mc.CreateEntry(It.IsAny<object>()))
DefaultFileVersionProviderTest.cs (1)
268cache.Setup(c => c.CreateEntry(filePath))
GlobbingUrlBuilderTest.cs (2)
278Mock.Get(cache).Setup(c => c.CreateEntry( 415var cache = Mock.Of<IMemoryCache>(m => m.CreateEntry(It.IsAny<object>()) == cacheEntry);
Microsoft.Extensions.Caching.Abstractions (7)
MemoryCacheExtensions.cs (7)
78using ICacheEntry entry = cache.CreateEntry(key); 95using ICacheEntry entry = cache.CreateEntry(key); 113using ICacheEntry entry = cache.CreateEntry(key); 131using ICacheEntry entry = cache.CreateEntry(key); 149using ICacheEntry entry = cache.CreateEntry(key); 186using ICacheEntry entry = cache.CreateEntry(key); 226using ICacheEntry entry = cache.CreateEntry(key);
Microsoft.Extensions.Caching.Hybrid (1)
Internal\DefaultHybridCache.L2.cs (1)
107ICacheEntry cacheEntry = _localCache.CreateEntry(key);