Class NUIGadgetResourceManager

Definition

Namespace:
Tizen.NUI
Assembly:
Tizen.NUI.Gadget.dll
API Level:
10

This class has the methods of the NUIGadgetResourceManager.

C#
Copy
public class NUIGadgetResourceManager : object
Inheritance
NUIGadgetResourceManager

Constructors

View Source

NUIGadgetResourceManager(String, String, String)

Initializes the resource manager of the gadget.

Declaration
C#
Copy
public 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
View Source

NUIGadgetResourceManager(NUIGadgetInfo)

Initializes the resource manager of the gadget.

Declaration
C#
Copy
public NUIGadgetResourceManager(NUIGadgetInfo info)
Parameters
Type Name Description
NUIGadgetInfo info

The information of the gadget.

API Level: 11

Methods

View Source

GetString(String)

Get the value of the specified string resource.

Declaration
C#
Copy
public 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#
Copy
public 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.

API Level: 10

Extension Methods