Class Application

Definition

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

The class that represents a Tizen application.

C#
Copy
public abstract class Application : IDisposable
Inheritance
object
Application
Derived
Implements
System.IDisposable

Properties

View Source

ApplicationInfo

Gets the class representing information of the current application.

Declaration
C#
Copy
public ApplicationInfo ApplicationInfo { get; }
Property Value
Type Description
ApplicationInfo
View Source

Current

Gets the instance of the current application.

Declaration
C#
Copy
public static Application Current { get; }
Property Value
Type Description
Application
View Source

DirectoryInfo

Gets the class representing directory information of the current application.

Declaration
C#
Copy
public DirectoryInfo DirectoryInfo { get; }
Property Value
Type Description
DirectoryInfo
View Source

Name

Gets the name of current application.

Declaration
C#
Copy
public string Name { get; }
Property Value
Type Description
string
View Source

Version

Gets the version of current application.

Declaration
C#
Copy
public string Version { get; }
Property Value
Type Description
string

Methods

View Source

Dispose()

Releases all resources used by the application class.

Declaration
C#
Copy
public void Dispose()
View Source

Dispose(bool)

Releases any unmanaged resources used by this object. Can also dispose any other disposable objects.

Declaration
C#
Copy
protected virtual void Dispose(bool disposing)
Parameters
Type Name Description
bool disposing

If true, disposes any disposable objects. If false, does not dispose disposable objects.

View Source

Exit()

Exits the main loop of the application.

Declaration
C#
Copy
public abstract void Exit()
View Source

~Application()

Finalizer of the application class.

Declaration
C#
Copy
protected ~Application()
View Source

Run(string[])

Runs the application's main loop.

Declaration
C#
Copy
public virtual void Run(string[] args)
Parameters
Type Name Description
string[] args

Arguments from commandline.

Implements

System.IDisposable