共用方式為


HtmlLocalizer(IStringLocalizer) 建構函式

定義

建立新的 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)

參數

localizer
IStringLocalizer

要從中讀取字串的 IStringLocalizer

適用於