public void AddTaskToList(Task task) { this.ThreadSafeInvoke(() => tasksListView.AddObject(task)); }
public void RemoveTaskFromList(Task task) { this.ThreadSafeInvoke(() => tasksListView.RemoveObject(task)); }
private void RemoveTaskRequestHandler(Task task) { executor.Execute(() => taskList.RemoveTask(task)); }