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#Copypublic class TypeRegistry : BaseHandle, IDynamicResourceHandler, IElement, INameScope, IElementController, System.IDisposable
- Inheritance
- Implements
Constructors
Declaration
C#Copypublic TypeRegistry()
Methods
Declaration
C#Copypublic static TypeRegistry Get()
Returns
Type | Description |
---|---|
TypeRegistry | TypeRegistry handle. |
Declaration
C#Copypublic 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. |
Declaration
C#Copypublic 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. |
Declaration
C#Copypublic uint GetTypeNameCount()
Returns
Type | Description |
---|---|
UInt32 | The count. |
Declaration
C#Copyprotected override void ReleaseSwigCPtr(Runtime.InteropServices.HandleRef swigCPtr)
Parameters
Type | Name | Description |
---|---|---|
Tizen.System.Runtime.InteropServices.HandleRef | swigCPtr |