Summary
Sets the localized content without encoding it back to where the original content was.
- Namespace
- Localization
.AspNetCore .TagHelpers - Containing Type
- Generic
Localize Tag Helper
Syntax
protected virtual void SetHtmlContent(TagHelperContext context, TagHelperContent outputContent, IHtmlContent htmlContent)
Parameters
Name | Type | Description |
---|---|---|
context | TagHelperContext | Contains information associated with the current HTML tag. |
outputContent | TagHelperContent | Content of the output tag helper. |
htmlContent | IHtmlContent | The content to set. |
Return Value
Type | Description |
---|---|
void |