public static Solution FromStream(string solutionFullPath, [NotNull] Stream stream) { using (var reader = new SolutionReader(solutionFullPath, stream)) { var solution = reader.ReadSolutionFile(); solution.FullPath = solutionFullPath; return(solution); } }
public static Solution FromFile(string solutionFullPath) { using (var reader = new SolutionReader(solutionFullPath)) { var solution = reader.ReadSolutionFile(); solution.FullPath = solutionFullPath; return(solution); } }