Class DefaultCoreBackend
Definition
- Namespace:
- Tizen.Applications.CoreBackend
- Assembly:
- Tizen.Applications.Common.dll
- API Level:
- 3
An abstract class to provide default event handlers for apps.
public abstract class DefaultCoreBackend : ICoreBackend, IDisposable
- Inheritance
-
DefaultCoreBackend
- Implements
Constructors
View SourceDefaultCoreBackend()
Constructor of DefaultCoreBackend class.
Declaration
public DefaultCoreBackend()
API Level: 3
Methods
View SourceAddEventHandler(EventType, Action)
Adds an event handler.
Declaration
public virtual void AddEventHandler(EventType evType, Action handler)
Parameters
Type | Name | Description |
---|---|---|
EventType | evType | The type of event. |
Action | handler | The handler method without arguments. |
API Level: 3
View SourceAddEventHandler<TEventArgs>(EventType, Action<TEventArgs>)
Adds an event handler.
Declaration
public virtual void AddEventHandler<TEventArgs>(EventType evType, Action<TEventArgs> handler)
where TEventArgs : EventArgs
Parameters
Type | Name | Description |
---|---|---|
EventType | evType | The type of event. |
Action<TEventArgs> | handler | The handler method with a TEventArgs type argument. |
Type Parameters
Name | Description |
---|---|
TEventArgs | The EventArgs type used in arguments of the handler method. |
API Level: 3
View SourceDispose()
Releases all resources.
Declaration
public void Dispose()
API Level: 3
View SourceDispose(Boolean)
Releases any unmanaged resources used by this object. Can also dispose any other disposable objects.
Declaration
protected abstract void Dispose(bool disposing)
Parameters
Type | Name | Description |
---|---|---|
Boolean | disposing | If true, disposes any disposable objects. If false, does not dispose disposable objects. |
API Level: 3
View SourceExit()
Exits the mainloop of the backend.
Declaration
public abstract void Exit()
API Level: 3
View SourceFinalize()
Finalizer of DefaultCoreBackend class.
Declaration
protected void Finalize()
Run(String[])
Runs the mainloop of the backend.
Declaration
public virtual void Run(string[] args)
Parameters
Type | Name | Description |
---|---|---|
String[] | args |