1 write to MemoryCache
Microsoft.AspNetCore.Mvc.TagHelpers (1)
CacheTagHelper.cs (1)
50
MemoryCache
= factory.Cache;
5 references to MemoryCache
Microsoft.AspNetCore.Mvc.TagHelpers (5)
CacheTagHelper.cs (4)
26
/// Prefix used by <see cref="CacheTagHelper"/> instances when creating entries in <see cref="
MemoryCache
"/>.
74
if (
MemoryCache
.TryGetValue(cacheKey, out Task<IHtmlContent> cachedResult))
107
_ =
MemoryCache
.Set(cacheKey, tcs.Task, options);
118
var entry =
MemoryCache
.CreateEntry(cacheKey);
CacheTagHelperMemoryCacheFactory.cs (1)
11
/// <see cref="CacheTagHelper"/> uses this factory to set its <see cref="CacheTagHelper.
MemoryCache
"/>.