Class NUIComponentApplication
Definition
- Assembly:
- Tizen.NUI.dll
The class for supporting multi-components application model.
public class NUIComponentApplication : CoreApplication
- Inheritance
Constructors
View SourceNUIComponentApplication(IDictionary<Type, string>)
Initializes the ComponentApplication class.
Declaration
public NUIComponentApplication(IDictionary<Type, string> typeInfo)
Parameters
Type | Name | Description |
---|---|---|
IDictionary<, ><Type, string> | typeInfo | The component type information. The key should be a class type of FrameComponent or SubComponent subclass. The value should be a component id which is declared in tizen-manifest.xml. |
Methods
View SourceExit()
Exits the main loop of the application.
Declaration
public override void Exit()
Overrides
View SourceOnCreate()
This method will be called before running main-loop
Declaration
protected override void OnCreate()
Overrides
View SourceOnTerminate()
This method will be called after exiting main-loop
Declaration
protected override void OnTerminate()
Overrides
View SourceRegisterComponent(Type, string)
Registers a component.
Declaration
public void RegisterComponent(Type compType, string compId)
Parameters
Type | Name | Description |
---|---|---|
Type | compType | Class type |
string | compId | Component ID |
Run(string[])
Runs the application's main loop.
Declaration
public override void Run(string[] args)
Parameters
Type | Name | Description |
---|---|---|
string[] | args | Arguments from commandline. |