Exemple #1
0
        void ProjectAdded(object sender, DotNetProjectEventArgs e)
        {
            MonitoredSolution monitoredSolution = FindMonitoredSolution((ISolution)sender);

            e.Project.Modified += ProjectModified;
            monitoredSolution.Projects.Add(e.Project);
        }
Exemple #2
0
        void ProjectRemoved(object sender, DotNetProjectEventArgs e)
        {
            MonitoredSolution monitoredSolution = FindMonitoredSolution((ISolution)sender);
            IDotNetProject    matchedProject    = monitoredSolution.Projects.FirstOrDefault(project => project.Equals(e.Project));

            if (matchedProject != null)
            {
                matchedProject.Modified -= ProjectModified;
                monitoredSolution.Projects.Remove(matchedProject);
            }
        }
Exemple #3
0
 void ProjectAdded(object sender, DotNetProjectEventArgs e)
 {
     e.Project.Modified += ProjectModified;
     projects.Add(e.Project);
 }
		void ProjectAdded (object sender, DotNetProjectEventArgs e)
		{
			e.Project.Modified += ProjectModified;
			projects.Add (e.Project);
		}
		void ProjectAdded (object sender, DotNetProjectEventArgs e)
		{
			MonitoredSolution monitoredSolution = FindMonitoredSolution ((ISolution)sender);
			e.Project.Modified += ProjectModified;
			monitoredSolution.Projects.Add (e.Project);
		}
Exemple #6
0
 void NoUpdateFound(object sender, DotNetProjectEventArgs e)
 {
     projectsNotUpdated.Add(e.Project);
 }
		void NoUpdateFound (object sender, DotNetProjectEventArgs e)
		{
			projectsNotUpdated.Add (e.Project);
		}
		void ProjectRemoved (object sender, DotNetProjectEventArgs e)
		{
			MonitoredSolution monitoredSolution = FindMonitoredSolution ((ISolution)sender);
			IDotNetProject matchedProject = monitoredSolution.Projects.FirstOrDefault (project => project.Equals (e.Project));
			if (matchedProject != null) {
				matchedProject.Modified -= ProjectModified;
				monitoredSolution.Projects.Remove (matchedProject);
			}
		}