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; } }
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; } }