C# Класс Nexus.Client.ModManagement.InstallationLog.Upgraders.UpgradeTask

Upgrades the Install Log from a specific version to the latest version.
This base class handles setting up the common resources and transaction required for all log upgrades.
Наследование: ThreadedBackgroundTask
Показать файл Открыть проект

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

Метод Описание
Upgrade ( string p_strLogPath, string p_strModInstallDirectory, ModRegistry p_mdrManagedModRegistry ) : void

Called to perform the upgrade.

Sets up the resources required to upgrade the install log.

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

Метод Описание
DoWork ( object p_objArgs ) : object

Performs the actual upgrade.

UpgradeInstallLog ( string p_strLogPath, string p_strModInstallDirectory, ModRegistry p_mrgModRegistry ) : void

Upgrades the install log.

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

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

Performs the actual upgrade.
protected DoWork ( object p_objArgs ) : object
p_objArgs object The task arguments.
Результат object

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

Called to perform the upgrade.
Sets up the resources required to upgrade the install log.
public Upgrade ( string p_strLogPath, string p_strModInstallDirectory, ModRegistry p_mdrManagedModRegistry ) : void
p_strLogPath string The path from which to load the install log information.
p_strModInstallDirectory string The path of the directory where all of the mods are installed.
p_mdrManagedModRegistry ModRegistry The that contains the list /// of managed mods.
Результат void

UpgradeInstallLog() защищенный абстрактный Метод

Upgrades the install log.
protected abstract UpgradeInstallLog ( string p_strLogPath, string p_strModInstallDirectory, ModRegistry p_mrgModRegistry ) : void
p_strLogPath string The path from which to load the install log information.
p_strModInstallDirectory string The path of the directory where all of the mods are installed.
p_mrgModRegistry ModRegistry The that contains the list /// of managed mods.
Результат void