Class SR
SR provides localized access to string resources from the Syncfusion.SfInput.WPF.resx file.
Inheritance
System.Object
SR
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Syncfusion.Windows.Controls.Input.Resources
Assembly: Syncfusion.SfInput.Wpf.dll
Syntax
public sealed class SR
Methods
GetString(CultureInfo, String)
Declaration
public static string GetString(CultureInfo culture, string name)
Parameters
Type | Name | Description |
---|---|---|
System.Globalization.CultureInfo | culture | |
System.String | name |
Returns
Type |
---|
System.String |
ReleaseResources()
System.Resources.ResourceManager calls System.Resources.ResourceSet.Close on all System.Resources.ResourceSet objects and release all resources.
Declaration
public static void ReleaseResources()
SetDefaultNamespace(String)
Provide DefaultNamespace to ResourceManager if DefaultNameSpace and AssemblyName are different.
Declaration
public static void SetDefaultNamespace(string nameSpace)
Parameters
Type | Name | Description |
---|---|---|
System.String | nameSpace | DefaultNamespace |
SetResources(Assembly, String)
Get the assembly name and namespace name for performing the localization when project have different assembly and namespace name
Declaration
public static void SetResources(Assembly assembly, string _namespace)
Parameters
Type | Name | Description |
---|---|---|
System.Reflection.Assembly | assembly | |
System.String | _namespace |