/// <summary> /// Return all possibly valid project names in the current solution. This includes all /// unique names and safe names. /// </summary> /// <returns></returns> protected IEnumerable <string> GetAllValidProjectNames() { var safeNames = _solutionManager.GetProjects().Select(p => _solutionManager.GetProjectSafeName(p)); var uniqueNames = _solutionManager.GetProjects().Select(p => p.GetCustomUniqueName()); return(uniqueNames.Concat(safeNames).Distinct()); }
public string[] GetAvailableProjects() { Debug.Assert(_solutionManager != null); var projectSafeNames = (_solutionManager.GetProjects().Select(p => _solutionManager.GetProjectSafeName(p))).ToArray(); return(projectSafeNames); }