Summary
Initializes a new instance of the
LocalizeTagHelper
class.
- Namespace
- Localization
.AspNetCore .TagHelpers - Containing Type
- LocalizeTagHelper
Syntax
public LocalizeTagHelper(IHtmlLocalizerFactory localizerFactory, IHostingEnvironment hostingEnvironment, IOptions<LocalizeTagHelperOptions> options)
Parameters
Name | Type | Description |
---|---|---|
localizerFactory | I |
The localizer factory to create a IHtmlLocalizer from.
|
hostingEnvironment | IHostingEnvironment | The hosting environment. |
options | IOptions |
The default options unless overridden when calling the tag helper. |
Return Value
Type | Description |
---|---|
void |