Class ComponentBasedApplication

    Definition

    Namespace:
    Tizen.Applications.ComponentBased.Common
    Assembly:
    Tizen.Applications.ComponentBased.dll

    The class for supporting multi-components based application model.

    public abstract class ComponentBasedApplication : Application
    Inheritance
    object
    Application
    ComponentBasedApplication
    Derived
    EFLComponentBasedApplication
    EFLComponentBasedApplication
    EFLComponentBasedApplication
    EFLComponentBasedApplication

    Constructors

    View Source

    ComponentBasedApplication(IDictionary<Type, string>)

    Initializes the ComponentBasedApplicationBase class.

    Declaration
    public ComponentBasedApplication(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 Source

    Exit()

    Exits the main loop of the application.

    Declaration
    public override void Exit()
    Overrides
    Application.Exit()
    View Source

    OnExit()

    This method will be called to exit main-loop

    Declaration
    protected virtual void OnExit()
    View Source

    OnFinished()

    This method will be called after exiting main-loop

    Declaration
    protected virtual void OnFinished()
    View Source

    OnInit(string[])

    This method will be called before running main-loop

    Declaration
    protected virtual void OnInit(string[] args)
    Parameters
    Type Name Description
    string[] args
    View Source

    OnRun()

    This method will be called to start main-loop

    Declaration
    protected abstract void OnRun()
    View Source

    RegisterComponent(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

    View Source

    Run(string[])

    Runs the application's main loop.

    Declaration
    public override void Run(string[] args)
    Parameters
    Type Name Description
    string[] args

    Arguments from commandline.

    Overrides
    Application.Run(string[])

    Extension Methods

    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