C# Класс Ironman.Core.Plugins.PluginManager

Plugin manager
Наследование: Utilities.DataTypes.Patterns.BaseClasses.SafeDisposableBaseClass
Показать файл Открыть проект

Private Properties

Свойство Тип Описание
Delete void

Открытые методы

Метод Описание
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

Защищенные методы

Метод Описание
Dispose ( bool Managed ) : void

Function to override in order to dispose objects

Приватные методы

Метод Описание
Delete ( DirectoryInfo Directory ) : void

Deletes the specified directory.

Описание методов

Dispose() защищенный Метод

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. ///
Результат void

Initialize() публичный Метод

Initializes this instance.
public Initialize ( ) : void
Результат void

InstallPlugin() публичный Метод

Installs the plugin associated with the ID
public InstallPlugin ( string ID ) : bool
ID string The identifier.
Результат bool

PluginManager() публичный Метод

Initializes a new instance of the PluginManager class.
public PluginManager ( IEnumerable Repositories, IBootstrapper Bootstrapper ) : System
Repositories IEnumerable The repositories.
Bootstrapper IBootstrapper The bootstrapper.
Результат System

RestartSystem() публичный статический Метод

Restarts the system.
public static RestartSystem ( ) : void
Результат void

UninstallPlugin() публичный Метод

Uninstalls the plugin associated with the ID
public UninstallPlugin ( string ID ) : bool
ID string The identifier.
Результат bool

UpdatePlugin() публичный Метод

Updates the plugin associated with the ID
public UpdatePlugin ( string ID ) : bool
ID string The identifier.
Результат bool