Summary
Gets the content/text that are to be localized.
- Namespace
- Localization
.AspNetCore .TagHelpers - Containing Type
- Generic
Localize Tag Helper
Syntax
protected virtual Task<string> GetContentAsync(TagHelperContext context, TagHelperOutput output)
Parameters
Name | Type | Description |
---|---|---|
context | TagHelperContext | Contains information associated with the current HTML tag. |
output | TagHelperOutput | A stateful HTML element used to generate an HTML tag. |
Return Value
Type | Description |
---|---|
Task |
An asynchronous task with the found content. |