Dela via


HtmlLocalizerFactory Class

Definition

An IHtmlLocalizerFactory that creates instances of HtmlLocalizer using the registered IStringLocalizerFactory.

public ref class HtmlLocalizerFactory : Microsoft::AspNetCore::Mvc::Localization::IHtmlLocalizerFactory
public class HtmlLocalizerFactory : Microsoft.AspNetCore.Mvc.Localization.IHtmlLocalizerFactory
type HtmlLocalizerFactory = class
    interface IHtmlLocalizerFactory
Public Class HtmlLocalizerFactory
Implements IHtmlLocalizerFactory
Inheritance
HtmlLocalizerFactory
Implements

Constructors

HtmlLocalizerFactory(IStringLocalizerFactory)

Creates a new HtmlLocalizerFactory.

Methods

Create(String, String)

Creates an HtmlLocalizer using the specified base name and location.

Create(Type)

Creates an HtmlLocalizer using the specified Type.

Applies to