public static ProjectDocument Load(TransformableProject proj, IParserInfo info)
        {
            var path = GetDocumentPath(proj, info);

            return(!File.Exists(path) ? null : new ProjectDocument(proj, info));
        }
 private static string GetDocumentPath(TransformableProject proj, IParserInfo info)
 {
     return(info.BasePath + Path.DirectorySeparatorChar + proj.Path);
 }
 public ProjectDocument(TransformableProject proj, IParserInfo info)
 {
     _project = proj;
     _path    = GetDocumentPath(proj, info);
     _doc     = XDocument.Load(_path);
 }