1 type derived from CacheTagHelper
HtmlGenerationWebSite (1)
TestCacheTagHelper.cs (1)
12
public class TestCacheTagHelper :
CacheTagHelper
53 instantiations of CacheTagHelper
Microsoft.AspNetCore.Mvc.TagHelpers.Test (53)
CacheTagHelperTest.cs (30)
46
var cacheTagHelper = new
CacheTagHelper
(new CacheTagHelperMemoryCacheFactory(cache.Object), new HtmlTestEncoder())
73
var cacheTagHelper = new
CacheTagHelper
(new CacheTagHelperMemoryCacheFactory(cache), new HtmlTestEncoder())
100
var cacheTagHelper1 = new
CacheTagHelper
(new CacheTagHelperMemoryCacheFactory(cache), new HtmlTestEncoder())
122
var cacheTagHelper2 = new
CacheTagHelper
(new CacheTagHelperMemoryCacheFactory(cache), new HtmlTestEncoder())
151
var cacheTagHelper1 = new
CacheTagHelper
(new CacheTagHelperMemoryCacheFactory(cache), new HtmlTestEncoder())
173
var cacheTagHelper2 = new
CacheTagHelper
(new CacheTagHelperMemoryCacheFactory(cache), new HtmlTestEncoder())
196
var cacheTagHelper = new
CacheTagHelper
(new CacheTagHelperMemoryCacheFactory(cache), new HtmlTestEncoder())
236
var cacheTagHelper1 = new
CacheTagHelper
(new CacheTagHelperMemoryCacheFactory(mockCache.Object), new HtmlTestEncoder())
259
var cacheTagHelper = new
CacheTagHelper
(new CacheTagHelperMemoryCacheFactory(cache), new HtmlTestEncoder());
274
var cacheTagHelper = new
CacheTagHelper
(new CacheTagHelperMemoryCacheFactory(cache), new HtmlTestEncoder())
292
var cacheTagHelper = new
CacheTagHelper
(new CacheTagHelperMemoryCacheFactory(cache), new HtmlTestEncoder())
310
var cacheTagHelper = new
CacheTagHelper
(new CacheTagHelperMemoryCacheFactory(cache), new HtmlTestEncoder())
337
var cacheTagHelper1 = new
CacheTagHelper
(new CacheTagHelperMemoryCacheFactory(cache), new HtmlTestEncoder())
358
var cacheTagHelper2 = new
CacheTagHelper
(new CacheTagHelperMemoryCacheFactory(cache), new HtmlTestEncoder())
390
var cacheTagHelper1 = new
CacheTagHelper
(new CacheTagHelperMemoryCacheFactory(cache), new HtmlTestEncoder())
412
var cacheTagHelper2 = new
CacheTagHelper
(new CacheTagHelperMemoryCacheFactory(cache), new HtmlTestEncoder())
443
var cacheTagHelper1 = new
CacheTagHelper
(new CacheTagHelperMemoryCacheFactory(cache), new HtmlTestEncoder())
465
var cacheTagHelper2 = new
CacheTagHelper
(new CacheTagHelperMemoryCacheFactory(cache), new HtmlTestEncoder())
512
var cacheTagHelper = new
CacheTagHelper
(new CacheTagHelperMemoryCacheFactory(cache), new HtmlTestEncoder())
578
var cacheTagHelper1 = new
CacheTagHelper
(new CacheTagHelperMemoryCacheFactory(cache), new HtmlTestEncoder())
584
var cacheTagHelper2 = new
CacheTagHelper
(new CacheTagHelperMemoryCacheFactory(cache), new HtmlTestEncoder())
661
var cacheTagHelper1 = new
CacheTagHelper
(new CacheTagHelperMemoryCacheFactory(cache), new HtmlTestEncoder())
667
var cacheTagHelper2 = new
CacheTagHelper
(new CacheTagHelperMemoryCacheFactory(cache), new HtmlTestEncoder())
742
var cacheTagHelper = new
CacheTagHelper
(new CacheTagHelperMemoryCacheFactory(cache), new HtmlTestEncoder())
805
var cacheTagHelper1 = new
CacheTagHelper
(new CacheTagHelperMemoryCacheFactory(cache), encoder)
811
var cacheTagHelper2 = new
CacheTagHelper
(new CacheTagHelperMemoryCacheFactory(cache), encoder)
852
var cacheTagHelper1 = new
CacheTagHelper
(new CacheTagHelperMemoryCacheFactory(cache), new HtmlTestEncoder())
857
var cacheTagHelper2 = new
CacheTagHelper
(new CacheTagHelperMemoryCacheFactory(cache), new HtmlTestEncoder())
892
var cacheTagHelper1 = new
CacheTagHelper
(new CacheTagHelperMemoryCacheFactory(cache), encoder)
898
var cacheTagHelper2 = new
CacheTagHelper
(new CacheTagHelperMemoryCacheFactory(cache), encoder)
CacheTagKeyTest.cs (23)
29
var cacheTagHelper = new
CacheTagHelper
(new CacheTagHelperMemoryCacheFactory(Mock.Of<IMemoryCache>()), new HtmlTestEncoder())
49
var cacheTagHelper1 = new
CacheTagHelper
(new CacheTagHelperMemoryCacheFactory(Mock.Of<IMemoryCache>()), new HtmlTestEncoder())
55
var cacheTagHelper2 = new
CacheTagHelper
(new CacheTagHelperMemoryCacheFactory(Mock.Of<IMemoryCache>()), new HtmlTestEncoder())
73
var cacheTagHelper1 = new
CacheTagHelper
(new CacheTagHelperMemoryCacheFactory(Mock.Of<IMemoryCache>()), new HtmlTestEncoder())
79
var cacheTagHelper2 = new
CacheTagHelper
(new CacheTagHelperMemoryCacheFactory(Mock.Of<IMemoryCache>()), new HtmlTestEncoder())
97
var cacheTagHelper1 = new
CacheTagHelper
(new CacheTagHelperMemoryCacheFactory(Mock.Of<IMemoryCache>()), new HtmlTestEncoder())
103
var cacheTagHelper2 = new
CacheTagHelper
(new CacheTagHelperMemoryCacheFactory(Mock.Of<IMemoryCache>()), new HtmlTestEncoder())
124
var cacheTagHelper1 = new
CacheTagHelper
(new CacheTagHelperMemoryCacheFactory(Mock.Of<IMemoryCache>()), new HtmlTestEncoder())
130
var cacheTagHelper2 = new
CacheTagHelper
(new CacheTagHelperMemoryCacheFactory(Mock.Of<IMemoryCache>()), new HtmlTestEncoder())
177
var cacheTagHelper = new
CacheTagHelper
(new CacheTagHelperMemoryCacheFactory(Mock.Of<IMemoryCache>()), new HtmlTestEncoder())
206
var cacheTagHelper = new
CacheTagHelper
(new CacheTagHelperMemoryCacheFactory(Mock.Of<IMemoryCache>()), new HtmlTestEncoder())
232
var cacheTagHelper = new
CacheTagHelper
(new CacheTagHelperMemoryCacheFactory(Mock.Of<IMemoryCache>()), new HtmlTestEncoder())
260
var cacheTagHelper = new
CacheTagHelper
(new CacheTagHelperMemoryCacheFactory(Mock.Of<IMemoryCache>()), new HtmlTestEncoder())
286
var cacheTagHelper = new
CacheTagHelper
(new CacheTagHelperMemoryCacheFactory(Mock.Of<IMemoryCache>()), new HtmlTestEncoder())
308
var cacheTagHelper = new
CacheTagHelper
(
333
var cacheTagHelper = new
CacheTagHelper
(new CacheTagHelperMemoryCacheFactory(Mock.Of<IMemoryCache>()), new HtmlTestEncoder())
353
var cacheTagHelper = new
CacheTagHelper
(new CacheTagHelperMemoryCacheFactory(Mock.Of<IMemoryCache>()), new HtmlTestEncoder())
376
var cacheTagHelper = new
CacheTagHelper
(new CacheTagHelperMemoryCacheFactory(Mock.Of<IMemoryCache>()), new HtmlTestEncoder())
397
var cacheTagHelper = new
CacheTagHelper
(new CacheTagHelperMemoryCacheFactory(Mock.Of<IMemoryCache>()), new HtmlTestEncoder())
424
var cacheTagHelper = new
CacheTagHelper
(new CacheTagHelperMemoryCacheFactory(Mock.Of<IMemoryCache>()), new HtmlTestEncoder())
446
var cacheTagHelper = new
CacheTagHelper
(new CacheTagHelperMemoryCacheFactory(Mock.Of<IMemoryCache>()), new HtmlTestEncoder())
478
var cacheTagHelper = new
CacheTagHelper
(new CacheTagHelperMemoryCacheFactory(Mock.Of<IMemoryCache>()), new HtmlTestEncoder())
510
var cacheTagHelper = new
CacheTagHelper
(new CacheTagHelperMemoryCacheFactory(Mock.Of<IMemoryCache>()), new HtmlTestEncoder())
68 references to CacheTagHelper
Microsoft.AspNetCore.Mvc.TagHelpers (15)
Cache\CacheTagKey.cs (5)
15
/// An instance of <see cref="CacheTagKey"/> represents the state of <see cref="
CacheTagHelper
"/>
55
/// Creates an instance of <see cref="CacheTagKey"/> for a specific <see cref="
CacheTagHelper
"/>.
57
/// <param name="tagHelper">The <see cref="
CacheTagHelper
"/>.</param>
60
public CacheTagKey(
CacheTagHelper
tagHelper, TagHelperContext context)
64
_prefix = nameof(
CacheTagHelper
);
CacheTagHelper.cs (4)
22
/// Prefix used by <see cref="
CacheTagHelper
"/> instances when creating entries in <see cref="MemoryCache"/>.
24
public static readonly string CacheKeyPrefix = nameof(
CacheTagHelper
);
36
/// Creates a new <see cref="
CacheTagHelper
"/>.
39
/// used by the <see cref="
CacheTagHelper
"/>.</param>
CacheTagHelperMemoryCacheFactory.cs (2)
11
/// <see cref="
CacheTagHelper
"/> uses this factory to set its <see cref="
CacheTagHelper
.MemoryCache"/>.
CacheTagHelperOptions.cs (1)
12
/// The maximum total size in bytes that will be cached by the <see cref="
CacheTagHelper
"/>
DependencyInjection\TagHelperExtensions.cs (2)
30
/// Configures the memory size limits on the cache of the <see cref="
CacheTagHelper
"/>.
46
/// Configures the memory size limits on the cache of the <see cref="
CacheTagHelper
"/>.
DistributedCacheTagHelper.cs (1)
29
/// Creates a new <see cref="
CacheTagHelper
"/>.
Microsoft.AspNetCore.Mvc.TagHelpers.Test (53)
CacheTagHelperTest.cs (30)
46
var
cacheTagHelper = new CacheTagHelper(new CacheTagHelperMemoryCacheFactory(cache.Object), new HtmlTestEncoder())
73
var
cacheTagHelper = new CacheTagHelper(new CacheTagHelperMemoryCacheFactory(cache), new HtmlTestEncoder())
100
var
cacheTagHelper1 = new CacheTagHelper(new CacheTagHelperMemoryCacheFactory(cache), new HtmlTestEncoder())
122
var
cacheTagHelper2 = new CacheTagHelper(new CacheTagHelperMemoryCacheFactory(cache), new HtmlTestEncoder())
151
var
cacheTagHelper1 = new CacheTagHelper(new CacheTagHelperMemoryCacheFactory(cache), new HtmlTestEncoder())
173
var
cacheTagHelper2 = new CacheTagHelper(new CacheTagHelperMemoryCacheFactory(cache), new HtmlTestEncoder())
196
var
cacheTagHelper = new CacheTagHelper(new CacheTagHelperMemoryCacheFactory(cache), new HtmlTestEncoder())
236
var
cacheTagHelper1 = new CacheTagHelper(new CacheTagHelperMemoryCacheFactory(mockCache.Object), new HtmlTestEncoder())
259
var
cacheTagHelper = new CacheTagHelper(new CacheTagHelperMemoryCacheFactory(cache), new HtmlTestEncoder());
274
var
cacheTagHelper = new CacheTagHelper(new CacheTagHelperMemoryCacheFactory(cache), new HtmlTestEncoder())
292
var
cacheTagHelper = new CacheTagHelper(new CacheTagHelperMemoryCacheFactory(cache), new HtmlTestEncoder())
310
var
cacheTagHelper = new CacheTagHelper(new CacheTagHelperMemoryCacheFactory(cache), new HtmlTestEncoder())
337
var
cacheTagHelper1 = new CacheTagHelper(new CacheTagHelperMemoryCacheFactory(cache), new HtmlTestEncoder())
358
var
cacheTagHelper2 = new CacheTagHelper(new CacheTagHelperMemoryCacheFactory(cache), new HtmlTestEncoder())
390
var
cacheTagHelper1 = new CacheTagHelper(new CacheTagHelperMemoryCacheFactory(cache), new HtmlTestEncoder())
412
var
cacheTagHelper2 = new CacheTagHelper(new CacheTagHelperMemoryCacheFactory(cache), new HtmlTestEncoder())
443
var
cacheTagHelper1 = new CacheTagHelper(new CacheTagHelperMemoryCacheFactory(cache), new HtmlTestEncoder())
465
var
cacheTagHelper2 = new CacheTagHelper(new CacheTagHelperMemoryCacheFactory(cache), new HtmlTestEncoder())
512
var
cacheTagHelper = new CacheTagHelper(new CacheTagHelperMemoryCacheFactory(cache), new HtmlTestEncoder())
578
var
cacheTagHelper1 = new CacheTagHelper(new CacheTagHelperMemoryCacheFactory(cache), new HtmlTestEncoder())
584
var
cacheTagHelper2 = new CacheTagHelper(new CacheTagHelperMemoryCacheFactory(cache), new HtmlTestEncoder())
661
var
cacheTagHelper1 = new CacheTagHelper(new CacheTagHelperMemoryCacheFactory(cache), new HtmlTestEncoder())
667
var
cacheTagHelper2 = new CacheTagHelper(new CacheTagHelperMemoryCacheFactory(cache), new HtmlTestEncoder())
742
var
cacheTagHelper = new CacheTagHelper(new CacheTagHelperMemoryCacheFactory(cache), new HtmlTestEncoder())
805
var
cacheTagHelper1 = new CacheTagHelper(new CacheTagHelperMemoryCacheFactory(cache), encoder)
811
var
cacheTagHelper2 = new CacheTagHelper(new CacheTagHelperMemoryCacheFactory(cache), encoder)
852
var
cacheTagHelper1 = new CacheTagHelper(new CacheTagHelperMemoryCacheFactory(cache), new HtmlTestEncoder())
857
var
cacheTagHelper2 = new CacheTagHelper(new CacheTagHelperMemoryCacheFactory(cache), new HtmlTestEncoder())
892
var
cacheTagHelper1 = new CacheTagHelper(new CacheTagHelperMemoryCacheFactory(cache), encoder)
898
var
cacheTagHelper2 = new CacheTagHelper(new CacheTagHelperMemoryCacheFactory(cache), encoder)
CacheTagKeyTest.cs (23)
29
var
cacheTagHelper = new CacheTagHelper(new CacheTagHelperMemoryCacheFactory(Mock.Of<IMemoryCache>()), new HtmlTestEncoder())
49
var
cacheTagHelper1 = new CacheTagHelper(new CacheTagHelperMemoryCacheFactory(Mock.Of<IMemoryCache>()), new HtmlTestEncoder())
55
var
cacheTagHelper2 = new CacheTagHelper(new CacheTagHelperMemoryCacheFactory(Mock.Of<IMemoryCache>()), new HtmlTestEncoder())
73
var
cacheTagHelper1 = new CacheTagHelper(new CacheTagHelperMemoryCacheFactory(Mock.Of<IMemoryCache>()), new HtmlTestEncoder())
79
var
cacheTagHelper2 = new CacheTagHelper(new CacheTagHelperMemoryCacheFactory(Mock.Of<IMemoryCache>()), new HtmlTestEncoder())
97
var
cacheTagHelper1 = new CacheTagHelper(new CacheTagHelperMemoryCacheFactory(Mock.Of<IMemoryCache>()), new HtmlTestEncoder())
103
var
cacheTagHelper2 = new CacheTagHelper(new CacheTagHelperMemoryCacheFactory(Mock.Of<IMemoryCache>()), new HtmlTestEncoder())
124
var
cacheTagHelper1 = new CacheTagHelper(new CacheTagHelperMemoryCacheFactory(Mock.Of<IMemoryCache>()), new HtmlTestEncoder())
130
var
cacheTagHelper2 = new CacheTagHelper(new CacheTagHelperMemoryCacheFactory(Mock.Of<IMemoryCache>()), new HtmlTestEncoder())
177
var
cacheTagHelper = new CacheTagHelper(new CacheTagHelperMemoryCacheFactory(Mock.Of<IMemoryCache>()), new HtmlTestEncoder())
206
var
cacheTagHelper = new CacheTagHelper(new CacheTagHelperMemoryCacheFactory(Mock.Of<IMemoryCache>()), new HtmlTestEncoder())
232
var
cacheTagHelper = new CacheTagHelper(new CacheTagHelperMemoryCacheFactory(Mock.Of<IMemoryCache>()), new HtmlTestEncoder())
260
var
cacheTagHelper = new CacheTagHelper(new CacheTagHelperMemoryCacheFactory(Mock.Of<IMemoryCache>()), new HtmlTestEncoder())
286
var
cacheTagHelper = new CacheTagHelper(new CacheTagHelperMemoryCacheFactory(Mock.Of<IMemoryCache>()), new HtmlTestEncoder())
308
var
cacheTagHelper = new CacheTagHelper(
333
var
cacheTagHelper = new CacheTagHelper(new CacheTagHelperMemoryCacheFactory(Mock.Of<IMemoryCache>()), new HtmlTestEncoder())
353
var
cacheTagHelper = new CacheTagHelper(new CacheTagHelperMemoryCacheFactory(Mock.Of<IMemoryCache>()), new HtmlTestEncoder())
376
var
cacheTagHelper = new CacheTagHelper(new CacheTagHelperMemoryCacheFactory(Mock.Of<IMemoryCache>()), new HtmlTestEncoder())
397
var
cacheTagHelper = new CacheTagHelper(new CacheTagHelperMemoryCacheFactory(Mock.Of<IMemoryCache>()), new HtmlTestEncoder())
424
var
cacheTagHelper = new CacheTagHelper(new CacheTagHelperMemoryCacheFactory(Mock.Of<IMemoryCache>()), new HtmlTestEncoder())
446
var
cacheTagHelper = new CacheTagHelper(new CacheTagHelperMemoryCacheFactory(Mock.Of<IMemoryCache>()), new HtmlTestEncoder())
478
var
cacheTagHelper = new CacheTagHelper(new CacheTagHelperMemoryCacheFactory(Mock.Of<IMemoryCache>()), new HtmlTestEncoder())
510
var
cacheTagHelper = new CacheTagHelper(new CacheTagHelperMemoryCacheFactory(Mock.Of<IMemoryCache>()), new HtmlTestEncoder())