Example #1
0
 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);
     }
 }
Example #2
0
 public static Solution FromFile(string solutionFullPath)
 {
     using (var reader = new SolutionReader(solutionFullPath))
     {
         var solution = reader.ReadSolutionFile();
         solution.FullPath = solutionFullPath;
         return(solution);
     }
 }