1 implementation of IDistributedCacheTagHelperStorage
Microsoft.AspNetCore.Mvc.TagHelpers (1)
Cache\DistributedCacheTagHelperStorage.cs (1)
12
public class DistributedCacheTagHelperStorage :
IDistributedCacheTagHelperStorage
21 references to IDistributedCacheTagHelperStorage
Microsoft.AspNetCore.Mvc.TagHelpers (7)
Cache\DistributedCacheTagHelperService.cs (3)
33
private readonly
IDistributedCacheTagHelperStorage
_storage;
42
/// <param name="storage">The <see cref="DistributedCacheTagHelper"/>'s <see cref="
IDistributedCacheTagHelperStorage
"/>.</param>
47
IDistributedCacheTagHelperStorage
storage,
Cache\DistributedCacheTagHelperStorage.cs (1)
9
/// Implements <see cref="
IDistributedCacheTagHelperStorage
"/> by storing the content
Cache\IDistributedCacheTagHelperFormatter.cs (1)
10
/// serialize html fragments for being store by <see cref="
IDistributedCacheTagHelperStorage
" />
DependencyInjection\TagHelperExtensions.cs (1)
63
services.TryAddSingleton<
IDistributedCacheTagHelperStorage
, DistributedCacheTagHelperStorage>();
DistributedCacheTagHelper.cs (1)
22
/// Prefix used by <see cref="DistributedCacheTagHelper"/> instances when creating entries in <see cref="
IDistributedCacheTagHelperStorage
"/>.
Microsoft.AspNetCore.Mvc.TagHelpers.Test (14)
DistributedCacheTagHelperTest.cs (14)
34
var storage = new Mock<
IDistributedCacheTagHelperStorage
>();
76
var storage = new Mock<
IDistributedCacheTagHelperStorage
>();
129
var
storage = GetStorage();
191
var
storage = GetStorage();
249
var
storage = GetStorage();
275
var
storage = GetStorage();
298
var
storage = GetStorage();
324
var
storage = GetStorage();
354
var
storage = GetStorage(Options.Create(new MemoryDistributedCacheOptions { Clock = clock.Object }));
416
var
storage = GetStorage(Options.Create(new MemoryDistributedCacheOptions { Clock = clock.Object }));
478
var
storage = GetStorage(Options.Create(new MemoryDistributedCacheOptions { Clock = clock.Object }));
541
var
storage = GetStorage();
635
var
storage = GetStorage();
774
private static
IDistributedCacheTagHelperStorage
GetStorage(IOptions<MemoryDistributedCacheOptions> options = null)