Class TypeRegistry

    Definition

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

    The TypeRegistry allows registration of type instance creation functions. These can then be created later by name and down cast to the appropriate type.

    public class TypeRegistry : BaseHandle, IDynamicResourceHandler, INameScope, System.IDisposable
    Inheritance
    object
    BindableObject
    Element
    BaseHandle
    TypeRegistry
    Implements
    IDynamicResourceHandler
    INameScope
    System.IDisposable

    Constructors

    View Source

    TypeRegistry()

    Allows the creation of an empty typeRegistry handle.

    Declaration
    public TypeRegistry()

    Methods

    View Source

    Get()

    Gets Type Registry handle.

    Declaration
    public static TypeRegistry Get()
    Returns
    Type Description
    TypeRegistry

    TypeRegistry handle.

    View Source

    GetTypeInfo(string)

    Gets TypeInfo for a registered type.

    Declaration
    public TypeInfo GetTypeInfo(string uniqueTypeName)
    Parameters
    Type Name Description
    string uniqueTypeName

    A unique type name.

    Returns
    Type Description
    TypeInfo

    TypeInfo if the type exists, otherwise an empty handle.

    View Source

    GetTypeName(uint)

    Gets type names by index.

    Declaration
    public string GetTypeName(uint index)
    Parameters
    Type Name Description
    uint index

    The index to get the type name.

    Returns
    Type Description
    string

    The type name or an empty string when index is not valid.

    View Source

    GetTypeNameCount()

    Gets type name count.

    Declaration
    public uint GetTypeNameCount()
    Returns
    Type Description
    uint

    The count.

    View Source

    ReleaseSwigCPtr(HandleRef)

    Declaration
    protected override void ReleaseSwigCPtr(System.Runtime.InteropServices.HandleRef swigCPtr)
    Parameters
    Type Name Description
    System.Runtime.InteropServices.HandleRef swigCPtr
    Overrides
    BaseHandle.ReleaseSwigCPtr(System.Runtime.InteropServices.HandleRef)

    Implements

    IDynamicResourceHandler
    INameScope
    System.IDisposable

    Extension Methods

    BindableObjectExtensions.SetBinding(BindableObject, BindableProperty, string, BindingMode, IValueConverter, string)
    NameScopeExtensions.FindByName<T>(Element, string)
    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