public bool OnSelectProjects(IEnumerable <IPackageManagementSelectedProject> projects)
 {
     if (SelectProjects != null)
     {
         var eventArgs = new SelectProjectsEventArgs(projects);
         SelectProjects(this, eventArgs);
         return(eventArgs.IsAccepted);
     }
     return(true);
 }
 void SelectProjects(object sender, SelectProjectsEventArgs e)
 {
     e.IsAccepted = selectProjectsService.SelectProjects(e.SelectedProjects);
 }
		public bool OnSelectProjects(IEnumerable<IPackageManagementSelectedProject> projects)
		{
			if (SelectProjects != null) {
				var eventArgs = new SelectProjectsEventArgs(projects);
				SelectProjects(this, eventArgs);
				return eventArgs.IsAccepted;
			}
			return true;
		}