2 implementations of IHtmlLocalizer
Microsoft.AspNetCore.Mvc.Localization (1)
HtmlLocalizerOfT.cs (1)
13
public class HtmlLocalizer<TResource> :
IHtmlLocalizer
<TResource>
Microsoft.AspNetCore.Mvc.Localization.Test (1)
MvcLocalizationServiceCollectionExtensionsTest.cs (1)
101
public class TestHtmlLocalizer<HomeController> :
IHtmlLocalizer
<HomeController>
6 references to IHtmlLocalizer
Microsoft.AspNetCore.Mvc.Localization (1)
MvcLocalizationServices.cs (1)
42
services.TryAdd(ServiceDescriptor.Transient(typeof(
IHtmlLocalizer
<>), typeof(HtmlLocalizer<>)));
Microsoft.AspNetCore.Mvc.Localization.Test (5)
MvcLocalizationMvcBuilderExtensionsTest.cs (1)
74
service = services.FirstOrDefault(sd => sd.ServiceType == typeof(
IHtmlLocalizer
<>));
MvcLocalizationMvcCoreBuilderExtensionsTest.cs (1)
74
service = services.FirstOrDefault(sd => sd.ServiceType == typeof(
IHtmlLocalizer
<>));
MvcLocalizationServiceCollectionExtensionsTest.cs (3)
27
AssertContainsSingle(collection, typeof(
IHtmlLocalizer
<>), typeof(HtmlLocalizer<>));
39
collection.Add(ServiceDescriptor.Transient(typeof(
IHtmlLocalizer
<>), typeof(TestHtmlLocalizer<>)));
47
AssertContainsSingle(collection, typeof(
IHtmlLocalizer
<>), typeof(TestHtmlLocalizer<>));