C# Class Nexus.Client.ModManagement.ModDeleter

This deletes mods.
Inheritance: Nexus.Client.ModManagement.ModUninstaller
Afficher le fichier Open project: NexusMods/NexusModManager-4.5 Class Usage Examples

Méthodes publiques

Méthode Description
ModDeleter ( IMod p_modMod, IGameMode p_gmdGameMode, IEnvironmentInfo p_eifEnvironmentInfo, IInstallLog p_ilgModInstallLog, IPluginManager p_pmgPluginManager, ReadOnlyObservableList p_rolActiveMods ) : System

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

Méthodes protégées

Méthode Description
DeleteModFile ( IMod p_modMod ) : void

Deletes the given mod file.

This deletes the physical mod file.

OnTaskSetCompleted ( TaskSetCompletedEventArgs e ) : void

Raises the IBackgroundTaskSet.TaskSetCompleted event.

This changes the message to reflect that fact that we are deleting the mod.

Method Details

DeleteModFile() protected méthode

Deletes the given mod file.
This deletes the physical mod file.
protected DeleteModFile ( IMod p_modMod ) : void
p_modMod IMod The mod to delete.
Résultat void

ModDeleter() public méthode

A simple constructor that initializes the object with the given values.
public ModDeleter ( IMod p_modMod, IGameMode p_gmdGameMode, IEnvironmentInfo p_eifEnvironmentInfo, IInstallLog p_ilgModInstallLog, IPluginManager p_pmgPluginManager, ReadOnlyObservableList p_rolActiveMods ) : System
p_modMod IMod The mod being installed.
p_gmdGameMode IGameMode The current game mode.
p_eifEnvironmentInfo IEnvironmentInfo The application's envrionment info.
p_ilgModInstallLog IInstallLog The install log that tracks mod install info /// for the current game mode
p_pmgPluginManager IPluginManager The plugin manager.
p_rolActiveMods ReadOnlyObservableList The list of active mods.
Résultat System

OnTaskSetCompleted() protected méthode

Raises the IBackgroundTaskSet.TaskSetCompleted event.
This changes the message to reflect that fact that we are deleting the mod.
protected OnTaskSetCompleted ( TaskSetCompletedEventArgs e ) : void
e Nexus.Client.BackgroundTasks.TaskSetCompletedEventArgs A describing the event arguments.
Résultat void