Наследование: ThreadedBackgroundTask
Пример #1
0
        /// <summary>
        /// Runs the managed updaters.
        /// </summary>
        /// <param name="p_lstModList">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 SetupReadMeManager(List <IMod> p_lstModList, ConfirmActionMethod p_camConfirm)
        {
            ReadMeSetupTask rmsReadMeManagerSetup = new ReadMeSetupTask(ReadMeManager, p_lstModList);

            rmsReadMeManagerSetup.Update(p_camConfirm);
            return(rmsReadMeManagerSetup);
        }
Пример #2
0
		/// <summary>
		/// Runs the managed updaters.
		/// </summary>
		/// <param name="p_lstModList">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 SetupReadMeManager(List<IMod> p_lstModList, ConfirmActionMethod p_camConfirm)
		{
			ReadMeSetupTask rmsReadMeManagerSetup = new ReadMeSetupTask(ReadMeManager, p_lstModList);
			rmsReadMeManagerSetup.Update(p_camConfirm);
			return rmsReadMeManagerSetup;
		}