Class SyncfusionStringLocalizer
Provides the mplementation for Syncfusion Localizer for resources localization.
Inheritance
System.Object
SyncfusionStringLocalizer
Implements
Namespace: Syncfusion.Blazor
Assembly: Syncfusion.Blazor.dll
Syntax
public class SyncfusionStringLocalizer : Object, ISyncfusionStringLocalizer
Constructors
SyncfusionStringLocalizer()
Declaration
public SyncfusionStringLocalizer()
Properties
ResourceManager
Gets the System.Resources.ResourceManager for localization.
Declaration
public ResourceManager ResourceManager { get; set; }
Property Value
Type |
---|
System.Resources.ResourceManager |
Methods
GetText(String)
Get localized text from resource file.
Declaration
public virtual string GetText(string key)
Parameters
Type | Name | Description |
---|---|---|
System.String | key | Property key to return localized value. |
Returns
Type | Description |
---|---|
System.String | Locale text. |