/// <summary> /// /// </summary> /// <param name="task"></param> private void OnExecuting(Task task) { if (this.Executing != null) { TaskExecutingEventArgs e = new TaskExecutingEventArgs(task); Executing(this, e); } }
/// <summary> /// /// </summary> /// <param name="sender"></param> /// <param name="e"></param> void TaskManager_Executing(object sender, TaskExecutingEventArgs e) { _processAddin.ProcessExecutingTask(e.Task); }