public void Remove(SolutionProject solutionProject) { lines.RemoveRange(solutionProject.lineIndex, 2); // Take out the end project as well foreach (var project in projects.Where(p => p.lineIndex > solutionProject.lineIndex)) { project.lineIndex -= 2; } var regex = new Regex(solutionProject.Id.ToString(), RegexOptions.IgnoreCase); lines.RemoveAll(regex.IsMatch); projects.Remove(solutionProject); }
public bool ShouldIncludeProject(SolutionProject project) { if (project.IsFolder) { return true; } foreach (var validProject in patterns) { if (validProject.IsMatch(project.Name)) { return true; } } return false; }
public bool ShouldIncludeProject(SolutionProject project) { if (project.IsFolder) { return(true); } foreach (var validProject in patterns) { if (validProject.IsMatch(project.Name)) { return(true); } } return(false); }
public bool ShouldApply(SolutionProject project) { return(!project.IsFolder); }
public bool ShouldIncludeProject(SolutionProject project) { return(true); }
public bool ShouldIncludeProject(SolutionProject project) { return true; }