C# Class Hawkeye.Extensibility.BasePlugin

Base class helping in building plugins
Inheritance: IPlugin
ファイルを表示 Open project: odalet/Hawkeye2

Public Methods

Method Description
BasePlugin ( IPluginDescriptor pluginDescriptor ) : System

Initializes a new instance of the BasePlugin class.

Initialize ( IHawkeyeHost host ) : void

Initializes this plugin passing it the specified host.

Protected Methods

Method Description
EnsureInitialized ( ) : void

Ensures this plugin is initialized; throws if not.

OnInitialized ( ) : void

Called when the plugin has just been initialized.

Method Details

BasePlugin() public method

Initializes a new instance of the BasePlugin class.
pluginDescriptor
public BasePlugin ( IPluginDescriptor pluginDescriptor ) : System
pluginDescriptor IPluginDescriptor The plugin descriptor.
return System

EnsureInitialized() protected method

Ensures this plugin is initialized; throws if not.
The plugin is not initialized.
protected EnsureInitialized ( ) : void
return void

Initialize() public method

Initializes this plugin passing it the specified host.
host
public Initialize ( IHawkeyeHost host ) : void
host IHawkeyeHost The host.
return void

OnInitialized() protected method

Called when the plugin has just been initialized.
protected OnInitialized ( ) : void
return void