HtmlLocalizer<TResource>(IHtmlLocalizerFactory) Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Creates a new HtmlLocalizer<TResource>.
public:
HtmlLocalizer(Microsoft::AspNetCore::Mvc::Localization::IHtmlLocalizerFactory ^ factory);
public HtmlLocalizer (Microsoft.AspNetCore.Mvc.Localization.IHtmlLocalizerFactory factory);
new Microsoft.AspNetCore.Mvc.Localization.HtmlLocalizer<'Resource> : Microsoft.AspNetCore.Mvc.Localization.IHtmlLocalizerFactory -> Microsoft.AspNetCore.Mvc.Localization.HtmlLocalizer<'Resource>
Public Sub New (factory As IHtmlLocalizerFactory)
Parameters
- factory
- IHtmlLocalizerFactory