Dela via


HtmlLocalizer(IStringLocalizer) Constructor

Definition

Creates a new HtmlLocalizer.

public:
 HtmlLocalizer(Microsoft::Extensions::Localization::IStringLocalizer ^ localizer);
public HtmlLocalizer (Microsoft.Extensions.Localization.IStringLocalizer localizer);
new Microsoft.AspNetCore.Mvc.Localization.HtmlLocalizer : Microsoft.Extensions.Localization.IStringLocalizer -> Microsoft.AspNetCore.Mvc.Localization.HtmlLocalizer
Public Sub New (localizer As IStringLocalizer)

Parameters

localizer
IStringLocalizer

The IStringLocalizer to read strings from.

Applies to