1 write to MemoryCache
Microsoft.AspNetCore.Mvc.TagHelpers (1)
CacheTagHelper.cs (1)
46
MemoryCache
= factory.Cache;
6 references to MemoryCache
HtmlGenerationWebSite (1)
TestCacheTagHelper.cs (1)
29
if (
MemoryCache
.TryGetValue(cacheKey, out var _))
Microsoft.AspNetCore.Mvc.TagHelpers (5)
CacheTagHelper.cs (4)
22
/// Prefix used by <see cref="CacheTagHelper"/> instances when creating entries in <see cref="
MemoryCache
"/>.
70
if (
MemoryCache
.TryGetValue(cacheKey, out Task<IHtmlContent> cachedResult))
102
_ =
MemoryCache
.Set(cacheKey, tcs.Task, options);
113
var entry =
MemoryCache
.CreateEntry(cacheKey);
CacheTagHelperMemoryCacheFactory.cs (1)
11
/// <see cref="CacheTagHelper"/> uses this factory to set its <see cref="CacheTagHelper.
MemoryCache
"/>.