อ่านในภาษาอังกฤษ

แชร์ผ่าน


StringLocalizerExtensions Class

Definition

Extension methods for operating on IStringLocalizer instances.

C#
public static class StringLocalizerExtensions
Inheritance
StringLocalizerExtensions

Methods

GetAllStrings(IStringLocalizer)

Gets all string resources including those for parent cultures.

GetString(IStringLocalizer, String, Object[])

Gets the string resource with the given name and formatted with the supplied arguments.

GetString(IStringLocalizer, String)

Gets the string resource with the given name.

Applies to

ผลิตภัณฑ์ เวอร์ชัน
.NET 10 (package-provided)
.NET Standard 2.0 (package-provided)