HtmlLocalizer Class
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.
An IHtmlLocalizer that uses the provided IStringLocalizer to do HTML-aware localization of content.
public ref class HtmlLocalizer : Microsoft::AspNetCore::Mvc::Localization::IHtmlLocalizer
public class HtmlLocalizer : Microsoft.AspNetCore.Mvc.Localization.IHtmlLocalizer
type HtmlLocalizer = class
interface IHtmlLocalizer
Public Class HtmlLocalizer
Implements IHtmlLocalizer
- Inheritance
-
HtmlLocalizer
- Implements
Html |
Creates a new HtmlLocalizer. |
Item[String, Object[]] |
Gets the string resource with the given name and formatted with the supplied arguments. The arguments will be HTML encoded. |
Item[String] |
Gets the string resource with the given name. |
Get |
Gets all string resources. |
Get |
Gets the string resource with the given name and formatted with the supplied arguments. |
Get |
Gets the string resource with the given name. |
To |
Creates a new LocalizedHtmlString for a LocalizedString. |
To |
Creates a new LocalizedHtmlString for a LocalizedString. |
With |
Obsolete.
Creates a new IHtmlLocalizer for a specific CultureInfo. |
Get |
Gets all string resources including those for parent cultures. |
Get |
Gets the LocalizedHtmlString resource for a specific name. |
Get |
Gets the LocalizedHtmlString resource for a specific name. |
Produkt | Versioner |
---|---|
ASP.NET Core | 1.0, 1.1, 2.0, 2.1, 2.2, 3.0, 3.1, 5.0, 6.0, 7.0, 8.0, 9.0 |