Class WidgetApplication
Definition
- Namespace:
- Tizen.Applications
- Assembly:
- Tizen.Applications.WidgetApplication.dll
Represents a widget application.
C#Copypublic class WidgetApplication : CoreApplication, IDisposable
- Inheritance
- Implements
-
System.IDisposable
Constructors
View Source
WidgetApplication(IDictionary<Type, string>)
Initializes the WidgetApplication class with the type and application ID.
Declaration
C#Copypublic WidgetApplication(IDictionary<Type, string> typeInfo)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.IDictionary<TKey, TValue><System.Type, string> | typeInfo | Map structure for the derived class type and widget ID. |
Declaration
C#Copypublic WidgetApplication(Type type)
Parameters
Type | Name | Description |
---|---|---|
System.Type | type | Derived class type. |
Remarks
Widget ID will be replaced as the application ID.
Methods
Declaration
C#Copypublic IEnumerable<WidgetBase> GetInstances(Type type)
Parameters
Type | Name | Description |
---|---|---|
System.Type | type | Class type for the widget. |
Returns
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<T><WidgetBase> |
Declaration
C#Copypublic override void Run(string[] args)
Parameters
Type | Name | Description |
---|---|---|
string[] | args | Arguments from the commandline. |
Overrides
Implements
System.IDisposable