internal void Clear() { uiFactory.StartNew(() => { WorkspaceItems.Clear(); OnPropertyChanged("SourceFiles"); }); }
public void ClearWorkspaceItems(IContextualResourceModel resourceModel) { if (resourceModel == null) { return; } WorkspaceItems.Clear(); resourceModel.Environment.ResourceRepository.DeleteResourceFromWorkspace(resourceModel); }