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.

C#
Copy
public class TypeRegistry : BaseHandle, IDynamicResourceHandler, IElement, INameScope, IElementController, System.IDisposable
Inheritance
Implements

Constructors

View Source

TypeRegistry()

Allows the creation of an empty typeRegistry handle.

Declaration
C#
Copy
public TypeRegistry()

Methods

View Source

Get()

Gets Type Registry handle.

Declaration
C#
Copy
public static TypeRegistry Get()
Returns
Type Description
TypeRegistry

TypeRegistry handle.

View Source

GetTypeInfo(String)

Gets TypeInfo for a registered type.

Declaration
C#
Copy
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(UInt32)

Gets type names by index.

Declaration
C#
Copy
public string GetTypeName(uint index)
Parameters
Type Name Description
UInt32 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
C#
Copy
public uint GetTypeNameCount()
Returns
Type Description
UInt32

The count.

View Source

ReleaseSwigCPtr(Runtime.InteropServices.HandleRef)

Declaration
C#
Copy
protected override void ReleaseSwigCPtr(Runtime.InteropServices.HandleRef swigCPtr)
Parameters
Type Name Description
Tizen.System.Runtime.InteropServices.HandleRef swigCPtr
Overrides

Implements

Extension Methods