Class NUIGadgetResourceManager
Definition
- Namespace:
- Tizen.NUI
- Assembly:
- Tizen.NUI.Gadget.dll
- API Level:
- 10
This class has the methods of the NUIGadgetResourceManager.
C#Copypublic class NUIGadgetResourceManager : object
- Inheritance
-
NUIGadgetResourceManager
Constructors
View Source
NUIGadgetResourceManager(String, String, String)
Initializes the resource manager of the gadget.
Declaration
C#Copypublic NUIGadgetResourceManager(string resourcePath, string resourceDll, string resourceClassName)
Parameters
Type | Name | Description |
---|---|---|
String | resourcePath | The path of the resource |
String | resourceDll | The file name of the resource. |
String | resourceClassName | The class name of the resource. |
API Level: 10
Declaration
C#Copypublic NUIGadgetResourceManager(NUIGadgetInfo info)
Parameters
Type | Name | Description |
---|---|---|
NUIGadgetInfo | info | The information of the gadget. |
API Level: 11
Methods
Declaration
C#Copypublic string GetString(string name)
Parameters
Type | Name | Description |
---|---|---|
String | name | The name of the resource to retrieve. |
Returns
Type | Description |
---|---|
String | The value of the resource, or null if name cannot be found in a resource set. |
API Level: 10
View Source
GetString(String, CultureInfo)
Gets the return value of the string resource localized for the specified culture.
Declaration
C#Copypublic string GetString(string name, CultureInfo cultureInfo)
Parameters
Type | Name | Description |
---|---|---|
String | name | The name of the resource to retrieve. |
CultureInfo | cultureInfo | An object that represents the culture for which the resource is localied. |
Returns
Type | Description |
---|---|
String | The value of the resource localied for the specified culture, or null if name cannot be found in a resource set. |