Microsoft.AspNetCore.Mvc.Localization Namespace¶
-
namespace
Microsoft.AspNetCore.Mvc.Localization¶ Interfaces
- interface
IHtmlLocalizer - Represents a type that that does HTML-aware localization of strings, by HTML encoding arguments that are formatted in the resource string.
- interface
IHtmlLocalizerFactory - A factory that creates
Microsoft.AspNetCore.Mvc.Localization.IHtmlLocalizerinstances. - interface
IHtmlLocalizer<TResource> - An
Microsoft.AspNetCore.Mvc.Localization.IHtmlLocalizerthat provides localized HTML content. - interface
IViewLocalizer - Represents a type that provides HTML-aware localization for views.
Classes
- class
HtmlLocalizer - An
Microsoft.AspNetCore.Mvc.Localization.IHtmlLocalizerthat uses the providedMicrosoft.Extensions.Localization.IStringLocalizerto do HTML-aware localization of content. - class
HtmlLocalizerExtensions - Extension methods for
Microsoft.AspNetCore.Mvc.Localization.IHtmlLocalizer. - class
HtmlLocalizerFactory - An
Microsoft.AspNetCore.Mvc.Localization.IHtmlLocalizerFactorythat creates instances ofMicrosoft.AspNetCore.Mvc.Localization.HtmlLocalizerusing the registeredMicrosoft.Extensions.Localization.IStringLocalizerFactory. - class
HtmlLocalizer<TResource> - An
Microsoft.AspNetCore.Mvc.Localization.IHtmlLocalizerimplementation that provides localized HTML content for the specified type <em>TResource</em>. - class
LocalizedHtmlString - An
Microsoft.AspNetCore.Html.IHtmlContentwith localized content. - class
ViewLocalizer - An
Microsoft.AspNetCore.Mvc.Localization.IViewLocalizerimplementation that derives the resource location from the executing view’s file path.
- interface