C# Class 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.
Inheritance: ThreadedBackgroundTask
显示文件 Open project: NexusMods/NexusModManager-4.5

Public Methods

Method Description
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.

Protected Methods

Method Description
DoWork ( object p_objArgs ) : object

Performs the actual upgrade.

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

Upgrades the install log.

Method Details

DoWork() protected method

Performs the actual upgrade.
protected DoWork ( object p_objArgs ) : object
p_objArgs object The task arguments.
return object

Upgrade() public method

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

UpgradeInstallLog() protected abstract method

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