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.IHtmlLocalizer instances.
interface IHtmlLocalizer<TResource>
An Microsoft.AspNetCore.Mvc.Localization.IHtmlLocalizer that provides localized HTML content.
interface IViewLocalizer
Represents a type that provides HTML-aware localization for views.

Classes

class HtmlLocalizer
An Microsoft.AspNetCore.Mvc.Localization.IHtmlLocalizer that uses the provided Microsoft.Extensions.Localization.IStringLocalizer to do HTML-aware localization of content.
class HtmlLocalizerExtensions
Extension methods for Microsoft.AspNetCore.Mvc.Localization.IHtmlLocalizer.
class HtmlLocalizerFactory
An Microsoft.AspNetCore.Mvc.Localization.IHtmlLocalizerFactory that creates instances of Microsoft.AspNetCore.Mvc.Localization.HtmlLocalizer using the registered Microsoft.Extensions.Localization.IStringLocalizerFactory.
class HtmlLocalizer<TResource>
An Microsoft.AspNetCore.Mvc.Localization.IHtmlLocalizer implementation that provides localized HTML content for the specified type <em>TResource</em>.
class LocalizedHtmlString
An Microsoft.AspNetCore.Html.IHtmlContent with localized content.
class ViewLocalizer
An Microsoft.AspNetCore.Mvc.Localization.IViewLocalizer implementation that derives the resource location from the executing view’s file path.