/// <summary> /// Removes the given task. /// </summary> /// <param name="p_tskTask">BasicInstallTask task to remove.</param> public void RemoveTaskUn(ModUninstaller p_tskTask) { if (ModActivationMonitor.CanRemoveUn(p_tskTask)) { ModActivationMonitor.RemoveTaskUn(p_tskTask); } }
/// <summary> /// Removes the uninstalling given task. /// </summary> /// <param name="p_tskTask">BasicInstallTask task to remove.</param> public void RemoveSelectedTaskUn(ModUninstaller p_tskTask) { if (ModActivationMonitor.CanRemoveSelectedUn(p_tskTask)) { if (p_tskTask.IsCompleted) { ModActivationMonitor.RemoveTaskUn(p_tskTask); } else if (p_tskTask.IsQueued) { ModActivationMonitor.RemoveQueuedTaskUn(p_tskTask); } } }