コード例 #1
0
ファイル: Solution.cs プロジェクト: ByronMayne/ProjectParse
 /// <summary>
 /// Creates a new instance of a Solution by parsing a existing one
 /// from disk.
 /// </summary>
 /// <param name="filePath"></param>
 private Solution(string filePath)
 {
     _blocks    = new PersistenceBlocks(this);
     _extension = Path.GetExtension(filePath);
     // Make sure it's supported
     ValidateSolutionExtension(_extension);
     _name = Path.GetFileNameWithoutExtension(filePath);
     Parse(filePath);
 }
コード例 #2
0
ファイル: Solution.cs プロジェクト: ByronMayne/ProjectParse
 /// <summary>
 /// Creates a new instance of a Solution
 /// </summary>
 private Solution()
 {
     _blocks = new PersistenceBlocks(this);
 }