示例#1
0
 private void lookForProjectSection(string text)
 {
     text = text.Trim();
     if (text.Trim().StartsWith("ProjectSection"))
     {
         _projectSection = text.Trim().StartsWith("ProjectSection(ProjectDependencies)") ? new ProjectDependenciesSection(text) : new ProjectSection(text);
         _solutionProject.ProjectSections.Add(_projectSection);
         _read = readProjectSection;
     }
 }
示例#2
0
 private void lookForProjectSection(string text)
 {
     text = text.Trim();
     if (text.Trim().StartsWith("ProjectSection"))
     {
         _projectSection = text.Trim().StartsWith("ProjectSection(ProjectDependencies)") ? new ProjectDependenciesSection(text) : new ProjectSection(text);
         _solutionProject.ProjectSections.Add(_projectSection);
         _read = readProjectSection;
     }
 }