Наследование: ThreadedBackgroundTask
Пример #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 ToggleUpdateWarningTask(HashSet <IMod> p_hashMods, bool?p_booEnable, ConfirmActionMethod p_camConfirm)
        {
            ToggleUpdateWarningTask tuwToggleWarning = new ToggleUpdateWarningTask(p_hashMods, p_booEnable, p_camConfirm);

            tuwToggleWarning.Update(p_camConfirm);
            return(tuwToggleWarning);
        }
Пример #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 ToggleUpdateWarningTask(HashSet<IMod> p_hashMods, bool? p_booEnable, ConfirmActionMethod p_camConfirm)
		{
			ToggleUpdateWarningTask tuwToggleWarning = new ToggleUpdateWarningTask(p_hashMods, p_booEnable, p_camConfirm);
			tuwToggleWarning.Update(p_camConfirm);
			return tuwToggleWarning;
		}