C# Class SecureDelete.WipePlugin.PluginManager

Provides support for managing the loaded plugins.
Afficher le fichier Open project: gratianlup/SecureDelete Class Usage Examples

Méthodes publiques

Méthode 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 méthode

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

AddPlugins() public méthode

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

ClearList() public méthode

Clear the category of plugins
public ClearList ( ) : void
Résultat void

DestroyAllPlugins() public méthode

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

GetPlugin() public méthode

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

PluginManager() public méthode

public PluginManager ( ) : System
Résultat System