예제 #1
0
 public WorkspacePageViewModel()
 {
     ReturnToMainMenuCommand = new DelegateCommand(o => ReturnToMainMenu());
     Service           = new WorkspaceService();
     GetWorkspacesTask = new TaskWatcher <ObservableCollection <Workspace> >(Service.GetAllWorkspaces());
     GetWorkspacesTask.Task.GetAwaiter().OnCompleted(() => PopulateBindingData());
 }