Class Application
Definition
- Namespace:
- Tizen.Applications
- Assembly:
- Tizen.Applications.Common.dll
The class that represents a Tizen application.
public abstract class Application : IDisposable
- Inheritance
-
objectApplication
- Derived
- Implements
-
System.IDisposable
Properties
View SourceApplicationInfo
Gets the class representing information of the current application.
Declaration
public ApplicationInfo ApplicationInfo { get; }
Property Value
Type | Description |
---|---|
ApplicationInfo |
Current
Gets the instance of the current application.
Declaration
public static Application Current { get; }
Property Value
Type | Description |
---|---|
Application |
DirectoryInfo
Gets the class representing directory information of the current application.
Declaration
public DirectoryInfo DirectoryInfo { get; }
Property Value
Type | Description |
---|---|
DirectoryInfo |
Name
Gets the name of current application.
Declaration
public string Name { get; }
Property Value
Type | Description |
---|---|
string |
Version
Gets the version of current application.
Declaration
public string Version { get; }
Property Value
Type | Description |
---|---|
string |
Methods
View SourceDispose()
Releases all resources used by the application class.
Declaration
public void Dispose()
Dispose(bool)
Releases any unmanaged resources used by this object. Can also dispose any other disposable objects.
Declaration
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. |
Exit()
Exits the main loop of the application.
Declaration
public abstract void Exit()
~Application()
Finalizer of the application class.
Declaration
protected ~Application()
Run(string[])
Runs the application's main loop.
Declaration
public virtual void Run(string[] args)
Parameters
Type | Name | Description |
---|---|---|
string[] | args | Arguments from commandline. |
Implements
System.IDisposable