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
파일 보기 프로젝트 열기: NexusMods/NexusModManager-4.5

공개 메소드들

메소드 설명
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