public static IEnumerable <Project> GetProjects() { return(ProjectQueryer.GetProjectPaths().Select(path => new Project(path))); }
public static IEnumerable <String> GetProjectNames() { try { return(Directory.EnumerateDirectories(ProjectSettings.ProjectRoot).Select(path => ProjectQueryer.ProjectPathToName(path))); } catch (Exception ex) { Logger.Log(LogLevel.Error, "Error reading project names from disk.", ex); return(new List <String>()); } }