예제 #1
0
 public TransformableProject(ParserProject proj)
 {
     _solutionProject = proj;
     NameIsModified   = false;
     PathIsModified   = false;
     PreviousName     = null;
     PreviousPath     = null;
 }
예제 #2
0
 public Project(Onion.SolutionParser.Parser.Model.Project onionProject, string solutionRoot)
 {
     Onion       = onionProject;
     ProjectGuid = onionProject.Guid;
     IsFolder    = Onion.TypeGuid.Equals(new Guid("2150E333-8FDC-42A3-9474-1A3956D46DE8"));
     Path        = IsFolder ? onionProject.Path : System.IO.Path.Combine(solutionRoot, onionProject.Path);
     TypeGuid    = Onion.TypeGuid;
     Name        = Onion.Name;
 }