Inheritance: ThreadedBackgroundTask
        /// <summary>
        /// Uninstalls multiple mods.
        /// </summary>
        /// <param name="p_rolModList">The mod list.</param>
        /// <param name="p_camConfirm">The delegate to call to confirm an action.</param>
        /// <returns>The background task that will run the updaters.</returns>
        public IBackgroundTask DeactivateMultipleMods(ReadOnlyObservableList <IMod> p_rolModList, bool p_booFilesOnly, ConfirmActionMethod p_camConfirm)
        {
            DeactivateMultipleModsTask dmmDeactivateAllMods = new DeactivateMultipleModsTask(p_rolModList, this.InstallationLog, this.InstallerFactory, this.VirtualModActivator, GameMode.GameModeEnvironmentInfo.InstallInfoDirectory, p_booFilesOnly);

            dmmDeactivateAllMods.Update(p_camConfirm);
            return(dmmDeactivateAllMods);
        }
        /// <summary>
        /// Runs the managed updaters.
        /// </summary>
        /// <param name="p_rolModList">The mod list.</param>
        /// <param name="p_camConfirm">The delegate to call to confirm an action.</param>
        /// <returns>The background task that will run the updaters.</returns>
        public IBackgroundTask DeactivateMultipleMods(ReadOnlyObservableList <IMod> p_rolModList, ConfirmActionMethod p_camConfirm)
        {
            DeactivateMultipleModsTask dmmDeactivateAllMods = new DeactivateMultipleModsTask(p_rolModList, this.InstallationLog, this.InstallerFactory);

            dmmDeactivateAllMods.Update(p_camConfirm);
            return(dmmDeactivateAllMods);
        }
Beispiel #3
0
		/// <summary>
		/// Runs the managed updaters.
		/// </summary>
		/// <param name="p_rolModList">The mod list.</param>
		/// <param name="p_camConfirm">The delegate to call to confirm an action.</param>
		/// <returns>The background task that will run the updaters.</returns>
		public IBackgroundTask DeactivateMultipleMods(ReadOnlyObservableList<IMod> p_rolModList, ConfirmActionMethod p_camConfirm)
		{
			DeactivateMultipleModsTask dmmDeactivateAllMods = new DeactivateMultipleModsTask(p_rolModList, this.InstallationLog, this.InstallerFactory);
			dmmDeactivateAllMods.Update(p_camConfirm);
			return dmmDeactivateAllMods;
		}