using System; using System.Collections.Generic; using System.Text; using System.IO; /// Author: Leopoldo Lee Agdeppa III namespace NPanday.ProjectImporter.Parser.SlnParser { public sealed class SolutionParser { public delegate List> ParserAlgoDelegate(System.IO.FileInfo solutionFile, ref string warningMsg); static ParserAlgoDelegate[] ALGORITHMS = { new ProjectSolutionParser().Parse }; public static List> ParseSolution(FileInfo solutionFile, ref string warningMsg) { List> list = new List>(); foreach (ParserAlgoDelegate algo in ALGORITHMS) { list.AddRange(algo(solutionFile, ref warningMsg)); } return list; } } }