Class Registrar<TRegistrable>
Definition
- Assembly:
- Tizen.NUI.dll
For internal use.
public class Registrar<TRegistrable> where TRegistrable : class
- Inheritance
-
objectRegistrar<TRegistrable>
Methods
View SourceGetHandler<TOut>(Type, params object[])
For internal use. Returns handler.
Declaration
public TOut GetHandler<TOut>(Type type, params object[] args) where TOut : TRegistrable
Parameters
| Type | Name | Description |
|---|---|---|
| Type | type | The type. |
| object[] | args | The args of the type |
Returns
| Type | Description |
|---|---|
| TOut | The handler instance. |
Type Parameters
| Name | Description |
|---|---|
| TOut | The type of the handler |
GetHandler<TOut>(Type)
For internal use. Returns handler.
Declaration
public TOut GetHandler<TOut>(Type type) where TOut : TRegistrable
Parameters
| Type | Name | Description |
|---|---|---|
| Type | type | The type. |
Returns
| Type | Description |
|---|---|
| TOut | The handler instance. |
Type Parameters
| Name | Description |
|---|---|
| TOut | The type of the handler |
GetHandlerForObject<TOut>(object, params object[])
For internal use. Return the handler of the object.
Declaration
public TOut GetHandlerForObject<TOut>(object obj, params object[] args) where TOut : TRegistrable
Parameters
| Type | Name | Description |
|---|---|---|
| object | obj | The object instance |
| object[] | args | The args of the type |
Returns
| Type | Description |
|---|---|
| TOut | The handler of the object. |
Type Parameters
| Name | Description |
|---|---|
| TOut | The type |
GetHandlerForObject<TOut>(object)
For internal use. Return the handler of the object.
Declaration
public TOut GetHandlerForObject<TOut>(object obj) where TOut : TRegistrable
Parameters
| Type | Name | Description |
|---|---|---|
| object | obj | The object instance. |
Returns
| Type | Description |
|---|---|
| TOut | The handle of the obj. |
Type Parameters
| Name | Description |
|---|---|
| TOut | The type |
GetHandlerType(Type)
For internal use. Returns the handle type.
Declaration
public Type GetHandlerType(Type viewType)
Parameters
| Type | Name | Description |
|---|---|---|
| Type | viewType | The view type. |
Returns
| Type | Description |
|---|---|
| Type | The type of the handle. |
GetHandlerTypeForObject(object)
For internal use. Return the handle type of the object
Declaration
public Type GetHandlerTypeForObject(object obj)
Parameters
| Type | Name | Description |
|---|---|---|
| object | obj | The object instance. |
Returns
| Type | Description |
|---|---|
| Type | The type of the handler. |
Register(Type, Type)
Register.
Declaration
public void Register(Type tview, Type trender)
Parameters
| Type | Name | Description |
|---|---|---|
| Type | tview | The type of the view |
| Type | trender | The type of the render. |