C# Class Ironman.Core.Plugins.PluginManager

Plugin manager
Inheritance: Utilities.DataTypes.Patterns.BaseClasses.SafeDisposableBaseClass
Afficher le fichier Open project: JaCraig/Craig-s-Utility-Library

Private Properties

Свойство Type Description
Delete void

Méthodes publiques

Méthode Description
Initialize ( ) : void

Initializes this instance.

InstallPlugin ( string ID ) : bool

Installs the plugin associated with the ID

PluginManager ( IEnumerable Repositories, IBootstrapper Bootstrapper ) : System

Initializes a new instance of the PluginManager class.

RestartSystem ( ) : void

Restarts the system.

UninstallPlugin ( string ID ) : bool

Uninstalls the plugin associated with the ID

UpdatePlugin ( string ID ) : bool

Updates the plugin associated with the ID

Méthodes protégées

Méthode Description
Dispose ( bool Managed ) : void

Function to override in order to dispose objects

Private Methods

Méthode Description
Delete ( DirectoryInfo Directory ) : void

Deletes the specified directory.

Method Details

Dispose() protected méthode

Function to override in order to dispose objects
protected Dispose ( bool Managed ) : void
Managed bool /// If true, managed and unmanaged objects should be disposed. Otherwise unmanaged objects only. ///
Résultat void

Initialize() public méthode

Initializes this instance.
public Initialize ( ) : void
Résultat void

InstallPlugin() public méthode

Installs the plugin associated with the ID
public InstallPlugin ( string ID ) : bool
ID string The identifier.
Résultat bool

PluginManager() public méthode

Initializes a new instance of the PluginManager class.
public PluginManager ( IEnumerable Repositories, IBootstrapper Bootstrapper ) : System
Repositories IEnumerable The repositories.
Bootstrapper IBootstrapper The bootstrapper.
Résultat System

RestartSystem() public static méthode

Restarts the system.
public static RestartSystem ( ) : void
Résultat void

UninstallPlugin() public méthode

Uninstalls the plugin associated with the ID
public UninstallPlugin ( string ID ) : bool
ID string The identifier.
Résultat bool

UpdatePlugin() public méthode

Updates the plugin associated with the ID
public UpdatePlugin ( string ID ) : bool
ID string The identifier.
Résultat bool