Class TelerikLocalizationManager
Represents a singleton class that manages application string resources.
Inheritance
Namespace: Telerik.XamarinForms.Common
Assembly: Telerik.XamarinForms.Common.dll
Syntax
public class TelerikLocalizationManager : Object, ILocalizationManager
Constructors
TelerikLocalizationManager()
Initializes a new instance of the TelerikLocalizationManager class.
Declaration
public TelerikLocalizationManager()
Properties
DefaultResourceManager
Default resource manager to follow if the specific one is null. This is an easy way to override the resource manager without instantiating a new manager.
Declaration
public static ResourceManager DefaultResourceManager { get; }
Property Value
|
System.Resources.ResourceManager
|
Manager
Declaration
public static ILocalizationManager Manager { get; set; }
Property Value
|
ILocalizationManager
|
ResourceManager
Gets or sets specific resource manager.
Declaration
public ResourceManager ResourceManager { get; set; }
Property Value
|
System.Resources.ResourceManager
|
Implements
Methods
GetString(String)
Returns a string related to the specified key and culture.
Declaration
public virtual string GetString(string key)
Parameters
|
System.String
key
The key. |
Returns
|
System.String
A value relative to the specified key. |