Beispiel #1
0
        /// <summary>
        /// Runs the managed updaters.
        /// </summary>
        /// <param name="p_ModManager">The Mod Manager.</param>
        /// <param name="p_lstMods">The list of mods to update.</param>
        /// <param name="p_intNewValue">The new category id value.</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 Update(ModManager p_ModManager, IList <IMod> p_lstMods, Int32 p_intNewValue, ConfirmActionMethod p_camConfirm)
        {
            CategorySwitchTask cstCategorySwitch = new CategorySwitchTask(p_ModManager, p_lstMods, p_intNewValue);

            cstCategorySwitch.Update(p_camConfirm);
            return(cstCategorySwitch);
        }
		/// <summary>
		/// Runs the managed updaters.
		/// </summary>
		/// <param name="p_ModManager">The Mod Manager.</param>
		/// <param name="p_lstMods">The list of mods to update.</param>
		/// <param name="p_intNewValue">The new category id value.</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 Update(ModManager p_ModManager, IList<IMod> p_lstMods, Int32 p_intNewValue, ConfirmActionMethod p_camConfirm)
		{
			CategorySwitchTask cstCategorySwitch = new CategorySwitchTask(p_ModManager, p_lstMods, p_intNewValue);
			cstCategorySwitch.Update(p_camConfirm);
			return cstCategorySwitch;
		}