2 instantiations of HtmlLocalizer
Microsoft.AspNetCore.Mvc.Localization.Test (2)
HtmlLocalizerOfTTest.cs (2)
23
var htmlLocalizerOfT = new
HtmlLocalizer
<TestClass>(htmlLocalizerFactory.Object);
45
var htmlLocalizerOfT = new
HtmlLocalizer
<TestClass>(htmlLocalizerFactory.Object);
7 references to HtmlLocalizer
Microsoft.AspNetCore.Mvc.Localization (2)
HtmlLocalizerOfT.cs (1)
18
/// Creates a new <see cref="
HtmlLocalizer
{TResource}"/>.
MvcLocalizationServices.cs (1)
42
services.TryAdd(ServiceDescriptor.Transient(typeof(IHtmlLocalizer<>), typeof(
HtmlLocalizer
<>)));
Microsoft.AspNetCore.Mvc.Localization.Test (5)
HtmlLocalizerOfTTest.cs (2)
23
var
htmlLocalizerOfT = new HtmlLocalizer<TestClass>(htmlLocalizerFactory.Object);
45
var
htmlLocalizerOfT = new HtmlLocalizer<TestClass>(htmlLocalizerFactory.Object);
MvcLocalizationMvcBuilderExtensionsTest.cs (1)
76
Assert.Equal(typeof(
HtmlLocalizer
<>), service.ImplementationType);
MvcLocalizationMvcCoreBuilderExtensionsTest.cs (1)
76
Assert.Equal(typeof(
HtmlLocalizer
<>), service.ImplementationType);
MvcLocalizationServiceCollectionExtensionsTest.cs (1)
27
AssertContainsSingle(collection, typeof(IHtmlLocalizer<>), typeof(
HtmlLocalizer
<>));