private void UnloadWorkspace(Workspace workspace) { if (workspace != null) { UnloadResources(workspace.Resources); } }
private void LoadWorkspace(Workspace newWorkspace) { if (newWorkspace != null) { LoadResources(newWorkspace.Resources); WorkspacePresenter.Content = newWorkspace.Content; } else { SetNoWorkspaceContent(); } }