/// <summary> /// Updates the task list to reflect the new datasource /// </summary> private void RefreshTaskList() { var taskList = _taskListManager.GetTasks() .Select( x => new TaskListDisplayItem { Id = x.Id, Content = x.Content, Title = x.Title, InProgress = x.InProgress, IsComplete = x.IsComplete, CreatedUTC = x.CreatedUTC, UpdatedUTC = x.UpdatedUTC }); Tasks = new ObservableCollection <TaskListDisplayItem>(SortTasks(taskList, _currentSortOrder)); }