Class ResourcesExtensions
Represents the extension methods for the ILocalizationSettings class.
public static class ResourcesExtensions
- Inheritance
-
ResourcesExtensions
- Inherited Members
Methods
GetLocalizableString(IResources, ILocalizationSettings, string)
Gets a localizableString according to the resources generated for all cluster languages.
public static LocalizableString GetLocalizableString(this IResources resources, ILocalizationSettings localizationSettings, string resourceName)
Parameters
resources
IResourcesThe resources.
localizationSettings
ILocalizationSettingsLocalization settings.
resourceName
stringThe name of the resource.
Returns
- LocalizableString
A localizable string with all available translations in resources corresponding to the languages of localization settings.