C# Class Ironman.Core.Plugins.PluginManager

Plugin manager
Inheritance: Utilities.DataTypes.Patterns.BaseClasses.SafeDisposableBaseClass
Exibir arquivo Open project: JaCraig/Craig-s-Utility-Library

Private Properties

Property Type Description
Delete void

Public Methods

Method 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

Protected Methods

Method Description
Dispose ( bool Managed ) : void

Function to override in order to dispose objects

Private Methods

Method Description
Delete ( DirectoryInfo Directory ) : void

Deletes the specified directory.

Method Details

Dispose() protected method

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. ///
return void

Initialize() public method

Initializes this instance.
public Initialize ( ) : void
return void

InstallPlugin() public method

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

PluginManager() public method

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

RestartSystem() public static method

Restarts the system.
public static RestartSystem ( ) : void
return void

UninstallPlugin() public method

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

UpdatePlugin() public method

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