x4Trace Documentation v1.0
|
Represents a desktop plugin instance. More...
Public Member Functions | |
PluginInstance (Ix4Trace.Engine.Controller controller, DesktopPluginManager pluginManager, string pluginName, Type type, DesktopPlugin mainInstance) | |
Constructor. | |
int | IndexOf (DesktopPlugin plugin) |
Returns the index of plugin. | |
DesktopPlugin | GetPlugin () |
Returns a plugin. Makes a new instance if there is no usable plugin. | |
Public Attributes | |
DesktopPlugin | mainInstance |
Main instance of plugins. | |
Type | type |
Type of the plugin. | |
string | pluginName = "" |
Name of the plugin. | |
List< DesktopPlugin > | plugins = new List<DesktopPlugin>() |
List of available plugins. | |
Private Attributes | |
DesktopPluginManager | pluginManager |
The plugin manager. | |
Ix4Trace.Engine.Controller | controller |
The controller. | |
Represents a desktop plugin instance.
Ix4Trace.Desktop.Plugins.PluginInstance.PluginInstance | ( | Ix4Trace.Engine.Controller | controller, |
DesktopPluginManager | pluginManager, | ||
string | pluginName, | ||
Type | type, | ||
DesktopPlugin | mainInstance ) |
Constructor.
controller | The controller. |
pluginManager | The plugin manager. |
pluginName | Name of plugin. |
type | Type of plugin. |
mainInstance | Main instance of plugins. |
DesktopPlugin Ix4Trace.Desktop.Plugins.PluginInstance.GetPlugin | ( | ) |
Returns a plugin. Makes a new instance if there is no usable plugin.
int Ix4Trace.Desktop.Plugins.PluginInstance.IndexOf | ( | DesktopPlugin | plugin | ) |
Returns the index of plugin.
plugin | Plugin to search. |