Class DefaultCoreBackend
Definition
- Namespace:
- Tizen.Applications.CoreBackend
- Assembly:
- Tizen.Applications.Common.dll
An abstract class to provide default event handlers for apps.
C#Copypublic abstract class DefaultCoreBackend : ICoreBackend, IDisposable
- Inheritance
-
objectDefaultCoreBackend
- Implements
-
System.IDisposable
Constructors
Declaration
C#Copypublic DefaultCoreBackend()
Methods
Declaration
C#Copypublic virtual void AddEventHandler(EventType evType, Action handler)
Parameters
Type | Name | Description |
---|---|---|
EventType | evType | The type of event. |
System.Action | handler | The handler method without arguments. |
Declaration
C#Copypublic virtual void AddEventHandler<TEventArgs>(EventType evType, Action<TEventArgs> handler) where TEventArgs : EventArgs
Parameters
Type | Name | Description |
---|---|---|
EventType | evType | The type of event. |
System.Action<T><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. |
Declaration
C#Copypublic void Dispose()
View Source
Dispose(bool)
Releases any unmanaged resources used by this object. Can also dispose any other disposable objects.
Declaration
C#Copyprotected abstract void Dispose(bool disposing)
Parameters
Type | Name | Description |
---|---|---|
bool | disposing | If true, disposes any disposable objects. If false, does not dispose disposable objects. |
Declaration
C#Copypublic abstract void Exit()
Declaration
C#Copyprotected ~DefaultCoreBackend()
Declaration
C#Copypublic virtual void Run(string[] args)
Parameters
Type | Name | Description |
---|---|---|
string[] | args |
Implements
System.IDisposable