void OnRemoved(object sender, TaskEventArgs e) { markerService.RemoveAll(marker => marker.Tag == e.Task); }
void OnAdded(object sender, TaskEventArgs e) { AddTask(e.Task); }
static void OnRemoved(TaskEventArgs e) { if (Removed != null) { Removed(null, e); } }
static void OnAdded(TaskEventArgs e) { if (Added != null) { Added(null, e); } }