C# Class Nexus.Client.ModManagement.PrepareModTask

Prepares a mod for installation.
Inheritance: BackgroundTask
ファイルを表示 Open project: NexusMods/NexusModManager-4.5 Class Usage Examples

Public Methods

Method Description
PrepareMod ( IMod p_modMod ) : bool

Prepares the given mod for installation.

This task puts the mod into read-only mode.

PrepareModTask ( FileUtil p_futFileUtility ) : System

A simple constructor that initializes the object with the given values.

Private Methods

Method Description
Mod_ReadOnlyInitProgressUpdated ( object sender, CancelProgressEventArgs e ) : void

Handles the IMod.ReadOnlyInitProgressUpdated event of the Mod.

This steps the progress in the progress dialog.

Method Details

PrepareMod() public method

Prepares the given mod for installation.
This task puts the mod into read-only mode.
public PrepareMod ( IMod p_modMod ) : bool
p_modMod IMod The mod to prepare.
return bool

PrepareModTask() public method

A simple constructor that initializes the object with the given values.
public PrepareModTask ( FileUtil p_futFileUtility ) : System
p_futFileUtility Nexus.Client.Util.FileUtil The file utility class.
return System