/// <summary>Removes all filters, shows all projects and selects the given project. </summary> /// <param name="projectReference">The project reference to select. </param> public void SelectProjectReference(VsProjectReference projectReference) { Messenger.Default.Send(new ShowProjectMessage(AllProjects.FirstOrDefault(p => p.IsSameProject(projectReference)))); }
private VsProject TryGetExistingProject(VsProjectReference projectReference, IEnumerable <VsProject> projectsInGraph) { return(projectsInGraph.SingleOrDefault(p => p.IsSameProject(projectReference))); }