C# Class Nexus.Client.ActivateModsMonitoring.ActivateModsMonitor

This monitors the status of activities.
Inheritance: INotifyPropertyChanged
Afficher le fichier Open project: NexusMods/NexusModManager-4.5 Class Usage Examples

Méthodes publiques

Méthode Description
ActivateModsMonitor ( ) : System

The default constructor.

AddActivity ( IBackgroundTaskSet p_bstTask ) : void

Adds a task to the monitor.

CanRemove ( ModInstaller p_tskTask ) : bool

Determines if the given BasicInstallTask can be removed from the monitor.

CanRemoveQueued ( ModInstaller p_tskTask ) : bool

Determines if the given BasicInstallTask queued can be removed from the monitor.

CanRemoveQueuedUn ( Nexus.Client.ModManagement.ModUninstaller p_tskTask ) : bool

Determines if the given uninstalling BasicInstallTask queued can be removed from the monitor.

CanRemoveQueuedUpg ( ModUpgrader p_tskTask ) : bool

Determines if the given upgrading BasicInstallTask queued can be removed from the monitor.

CanRemoveSelected ( ModInstaller p_tskTask ) : bool

Determines if the given BasicInstallTask selected can be removed from the monitor.

CanRemoveSelectedUn ( Nexus.Client.ModManagement.ModUninstaller p_tskTask ) : bool

Determines if the given uninstalling BasicInstallTask selected can be removed from the monitor.

CanRemoveSelectedUpg ( ModUpgrader p_tskTask ) : bool

Determines if the given upgrading BasicInstallTask selected can be removed from the monitor.

CanRemoveUn ( Nexus.Client.ModManagement.ModUninstaller p_tskTask ) : bool

Determines if the given BasicInstallTask can be removed from the monitor.

CanRemoveUpg ( ModUpgrader p_tskTask ) : bool

Determines if the given BasicInstallTask can be removed from the monitor.

RemoveQueuedTask ( ModInstaller p_tskTask ) : void

Removes a task from the monitor.

Tasks can only be removed if they are not running.

RemoveQueuedTaskUn ( Nexus.Client.ModManagement.ModUninstaller p_tskTask ) : void

Removes an uninstalling task from the monitor.

Tasks can only be removed if they are not running.

RemoveQueuedTaskUpg ( ModUpgrader p_tskTask ) : void

Removes an upgrading task from the monitor.

Tasks can only be removed if they are not running.

RemoveTask ( ModInstaller p_tskTask ) : void

Removes a task from the monitor.

Tasks can only be removed if they are not running.

RemoveTaskUn ( Nexus.Client.ModManagement.ModUninstaller p_tskTask ) : void

Removes an uninstalling task from the monitor.

Tasks can only be removed if they are not running.

RemoveTaskUpg ( ModUpgrader p_tskTask ) : void

Removes an upgrading task from the monitor.

Tasks can only be removed if they are not running.

RemoveUselessTask ( ModInstaller p_tskTask ) : void

Removes a useless task (the task is already in queue or running).

RemoveUselessTaskUn ( Nexus.Client.ModManagement.ModUninstaller p_tskTask ) : void

Removes a useless uninstalling task (the task is already in queue or running).

RemoveUselessTaskUpg ( ModUpgrader p_tskTask ) : void

Removes a useless upgrading task (the task is already in queue or running).

Méthodes protégées

Méthode Description
OnPropertyChanged ( string name ) : void

Raises the INotifyPropertyChanged.PropertyChanged event of the project.

Method Details

ActivateModsMonitor() public méthode

The default constructor.
public ActivateModsMonitor ( ) : System
Résultat System

AddActivity() public méthode

Adds a task to the monitor.
public AddActivity ( IBackgroundTaskSet p_bstTask ) : void
p_bstTask IBackgroundTaskSet
Résultat void

CanRemove() public méthode

Determines if the given BasicInstallTask can be removed from the monitor.
public CanRemove ( ModInstaller p_tskTask ) : bool
p_tskTask Nexus.Client.ModManagement.ModInstaller The task for which it is to be determined /// if it can be removed from the monitor.
Résultat bool

CanRemoveQueued() public méthode

Determines if the given BasicInstallTask queued can be removed from the monitor.
public CanRemoveQueued ( ModInstaller p_tskTask ) : bool
p_tskTask Nexus.Client.ModManagement.ModInstaller The task for which it is to be determined /// if it can be removed from the monitor.
Résultat bool

CanRemoveQueuedUn() public méthode

Determines if the given uninstalling BasicInstallTask queued can be removed from the monitor.
public CanRemoveQueuedUn ( Nexus.Client.ModManagement.ModUninstaller p_tskTask ) : bool
p_tskTask Nexus.Client.ModManagement.ModUninstaller The task for which it is to be determined /// if it can be removed from the monitor.
Résultat bool

CanRemoveQueuedUpg() public méthode

Determines if the given upgrading BasicInstallTask queued can be removed from the monitor.
public CanRemoveQueuedUpg ( ModUpgrader p_tskTask ) : bool
p_tskTask Nexus.Client.ModManagement.ModUpgrader The task for which it is to be determined /// if it can be removed from the monitor.
Résultat bool

CanRemoveSelected() public méthode

Determines if the given BasicInstallTask selected can be removed from the monitor.
public CanRemoveSelected ( ModInstaller p_tskTask ) : bool
p_tskTask Nexus.Client.ModManagement.ModInstaller The task for which it is to be determined /// if it can be removed from the monitor.
Résultat bool

CanRemoveSelectedUn() public méthode

Determines if the given uninstalling BasicInstallTask selected can be removed from the monitor.
public CanRemoveSelectedUn ( Nexus.Client.ModManagement.ModUninstaller p_tskTask ) : bool
p_tskTask Nexus.Client.ModManagement.ModUninstaller The task for which it is to be determined /// if it can be removed from the monitor.
Résultat bool

CanRemoveSelectedUpg() public méthode

Determines if the given upgrading BasicInstallTask selected can be removed from the monitor.
public CanRemoveSelectedUpg ( ModUpgrader p_tskTask ) : bool
p_tskTask Nexus.Client.ModManagement.ModUpgrader The task for which it is to be determined /// if it can be removed from the monitor.
Résultat bool

CanRemoveUn() public méthode

Determines if the given BasicInstallTask can be removed from the monitor.
public CanRemoveUn ( Nexus.Client.ModManagement.ModUninstaller p_tskTask ) : bool
p_tskTask Nexus.Client.ModManagement.ModUninstaller The task for which it is to be determined /// if it can be removed from the monitor.
Résultat bool

CanRemoveUpg() public méthode

Determines if the given BasicInstallTask can be removed from the monitor.
public CanRemoveUpg ( ModUpgrader p_tskTask ) : bool
p_tskTask Nexus.Client.ModManagement.ModUpgrader The task for which it is to be determined /// if it can be removed from the monitor.
Résultat bool

OnPropertyChanged() protected méthode

Raises the INotifyPropertyChanged.PropertyChanged event of the project.
protected OnPropertyChanged ( string name ) : void
name string The property name.
Résultat void

RemoveQueuedTask() public méthode

Removes a task from the monitor.
Tasks can only be removed if they are not running.
public RemoveQueuedTask ( ModInstaller p_tskTask ) : void
p_tskTask Nexus.Client.ModManagement.ModInstaller The task to remove.
Résultat void

RemoveQueuedTaskUn() public méthode

Removes an uninstalling task from the monitor.
Tasks can only be removed if they are not running.
public RemoveQueuedTaskUn ( Nexus.Client.ModManagement.ModUninstaller p_tskTask ) : void
p_tskTask Nexus.Client.ModManagement.ModUninstaller The task to remove.
Résultat void

RemoveQueuedTaskUpg() public méthode

Removes an upgrading task from the monitor.
Tasks can only be removed if they are not running.
public RemoveQueuedTaskUpg ( ModUpgrader p_tskTask ) : void
p_tskTask Nexus.Client.ModManagement.ModUpgrader The task to remove.
Résultat void

RemoveTask() public méthode

Removes a task from the monitor.
Tasks can only be removed if they are not running.
public RemoveTask ( ModInstaller p_tskTask ) : void
p_tskTask Nexus.Client.ModManagement.ModInstaller The task to remove.
Résultat void

RemoveTaskUn() public méthode

Removes an uninstalling task from the monitor.
Tasks can only be removed if they are not running.
public RemoveTaskUn ( Nexus.Client.ModManagement.ModUninstaller p_tskTask ) : void
p_tskTask Nexus.Client.ModManagement.ModUninstaller The task to remove.
Résultat void

RemoveTaskUpg() public méthode

Removes an upgrading task from the monitor.
Tasks can only be removed if they are not running.
public RemoveTaskUpg ( ModUpgrader p_tskTask ) : void
p_tskTask Nexus.Client.ModManagement.ModUpgrader The task to remove.
Résultat void

RemoveUselessTask() public méthode

Removes a useless task (the task is already in queue or running).
public RemoveUselessTask ( ModInstaller p_tskTask ) : void
p_tskTask Nexus.Client.ModManagement.ModInstaller
Résultat void

RemoveUselessTaskUn() public méthode

Removes a useless uninstalling task (the task is already in queue or running).
public RemoveUselessTaskUn ( Nexus.Client.ModManagement.ModUninstaller p_tskTask ) : void
p_tskTask Nexus.Client.ModManagement.ModUninstaller
Résultat void

RemoveUselessTaskUpg() public méthode

Removes a useless upgrading task (the task is already in queue or running).
public RemoveUselessTaskUpg ( ModUpgrader p_tskTask ) : void
p_tskTask Nexus.Client.ModManagement.ModUpgrader
Résultat void