Ejemplo n.º 1
0
		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);
		}
Ejemplo n.º 2
0
        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);
        }
Ejemplo n.º 3
0
 public bool ShouldIncludeProject(SolutionProject project)
 {
     if (project.IsFolder) {
         return true;
     }
     foreach (var validProject in patterns) {
         if (validProject.IsMatch(project.Name)) {
             return true;
         }
     }
     return false;
 }
Ejemplo n.º 4
0
 public bool ShouldIncludeProject(SolutionProject project)
 {
     if (project.IsFolder)
     {
         return(true);
     }
     foreach (var validProject in patterns)
     {
         if (validProject.IsMatch(project.Name))
         {
             return(true);
         }
     }
     return(false);
 }
Ejemplo n.º 5
0
 public bool ShouldApply(SolutionProject project)
 {
     return(!project.IsFolder);
 }
Ejemplo n.º 6
0
 public bool ShouldIncludeProject(SolutionProject project)
 {
     return(true);
 }
Ejemplo n.º 7
0
 public bool ShouldIncludeProject(SolutionProject project)
 {
     return true;
 }