/// <summary> /// This will create the tasks in the factory and run them /// </summary> /// <param name="factory">The factory to use</param> /// <returns>True if the task execution was successful</returns> public bool ExecuteTasks(ITaskFactory factory) { return(ExecuteTasks(factory.GetTasks())); }
/// <summary> /// This will create the tasks in the factory and run them async /// </summary> /// <param name="factory">The factory to use</param> /// <returns>True if the task execution was successful</returns> public async Task <bool> AsyncExecuteTasks(ITaskFactory factory) { return(await AsyncExecuteTasks(factory.GetTasks())); }