Inheritance: ThreadedBackgroundTask
Ejemplo n.º 1
0
        /// <summary>
        /// Runs the managed updaters.
        /// </summary>
        /// <param name="p_hashMods">The hash of mods.</param>
        /// <param name="p_booEnable">Enable/Disable/Toggle.</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 ManageMultiplePluginsTask(List <Plugin> p_lstPlugins, bool p_booEnable, ConfirmActionMethod p_camConfirm)
        {
            ManageMultiplePluginsTask mptManageMultiplePlugins = new ManageMultiplePluginsTask(p_lstPlugins, ActivePluginLog, p_booEnable);

            mptManageMultiplePlugins.Update(p_camConfirm);
            return(mptManageMultiplePlugins);
        }
Ejemplo n.º 2
0
		/// <summary>
		/// Runs the managed updaters.
		/// </summary>
		/// <param name="p_hashMods">The hash of mods.</param>
		/// <param name="p_booEnable">Enable/Disable/Toggle.</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 ManageMultiplePluginsTask(List<Plugin> p_lstPlugins, bool p_booEnable, ConfirmActionMethod p_camConfirm)
		{
			ManageMultiplePluginsTask mptManageMultiplePlugins = new ManageMultiplePluginsTask(p_lstPlugins, ActivePluginLog, p_booEnable);
			mptManageMultiplePlugins.Update(p_camConfirm);
			return mptManageMultiplePlugins;
		}