Class NUIGadgetResourceManager

    Definition

    Namespace:
    Tizen.NUI
    Assembly:
    Tizen.NUI.Gadget.dll

    This class has the methods of the NUIGadgetResourceManager.

    public class NUIGadgetResourceManager
    Inheritance
    object
    NUIGadgetResourceManager

    Constructors

    View Source

    NUIGadgetResourceManager(string, string, string)

    Initializes the resource manager of the gadget.

    Declaration
    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.

    View Source

    NUIGadgetResourceManager(NUIGadgetInfo)

    Initializes the resource manager of the gadget.

    Declaration
    public NUIGadgetResourceManager(NUIGadgetInfo info)
    Parameters
    Type Name Description
    NUIGadgetInfo info

    The information of the gadget.

    Methods

    View Source

    GetString(string, CultureInfo)

    Gets the return value of the string resource localized for the specified culture.

    Declaration
    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.

    View Source

    GetString(string)

    Get the value of the specified string resource.

    Declaration
    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.

    Extension Methods

    EXamlExtensions.LoadFromEXaml<T>(T, string)
    EXamlExtensions.LoadFromEXamlByRelativePath<T>(T, string)
    EXamlExtensions.LoadFromEXamlPath<TXaml>(TXaml, string)
    EXamlExtensions.LoadFromEXamlPath<T>(T, Type)
    Extensions.LoadFromXaml<TXaml>(TXaml, string)
    Extensions.LoadFromXaml<TXaml>(TXaml, Type)
    Extensions.LoadFromXamlFile<TXaml>(TXaml, string)
    • View Source
    Back to top Copyright © 2016-2025 Samsung
    Generated by DocFX