C# Class SecureDelete.WipePlugin.PluginManager

Provides support for managing the loaded plugins.
Mostrar archivo Open project: gratianlup/SecureDelete Class Usage Examples

Public Methods

Method Description
AddPlugins ( Assembly assembly ) : bool

Add all containing plugins from the given assembly

AddPlugins ( string path ) : bool

Add all containing plugins from the given assembly

ClearList ( ) : void

Clear the category of plugins

DestroyAllPlugins ( ) : void

Destroy all instances of the plugins

The plugins are not removed from the manager. For this functionality, use ClearList instead.

GetPlugin ( string name ) : SecureDelete.WipePlugin.Plugin[]

Get the plugins with the specified name

PluginManager ( ) : System

Method Details

AddPlugins() public method

Add all containing plugins from the given assembly
public AddPlugins ( Assembly assembly ) : bool
assembly System.Reflection.Assembly
return bool

AddPlugins() public method

Add all containing plugins from the given assembly
public AddPlugins ( string path ) : bool
path string The path of the assembly.
return bool

ClearList() public method

Clear the category of plugins
public ClearList ( ) : void
return void

DestroyAllPlugins() public method

Destroy all instances of the plugins
The plugins are not removed from the manager. For this functionality, use ClearList instead.
public DestroyAllPlugins ( ) : void
return void

GetPlugin() public method

Get the plugins with the specified name
public GetPlugin ( string name ) : SecureDelete.WipePlugin.Plugin[]
name string The name of the plugins.
return SecureDelete.WipePlugin.Plugin[]

PluginManager() public method

public PluginManager ( ) : System
return System