void AcceptLicenses(object sender, AcceptLicensesEventArgs e)
 {
     foreach (IPackage package in e.Packages)
     {
         ReportLicenseAgreementWarning(package);
     }
     e.IsAccepted = true;
 }
		public bool OnAcceptLicenses(IEnumerable<IPackage> packages)
		{
			if (AcceptLicenses != null) {
				var eventArgs = new AcceptLicensesEventArgs(packages);
				AcceptLicenses(this, eventArgs);
				return eventArgs.IsAccepted;
			}
			return true;
		}
 public bool OnAcceptLicenses(IEnumerable <IPackage> packages)
 {
     if (AcceptLicenses != null)
     {
         var eventArgs = new AcceptLicensesEventArgs(packages);
         AcceptLicenses(this, eventArgs);
         return(eventArgs.IsAccepted);
     }
     return(true);
 }
 void AcceptLicenses(object sender, AcceptLicensesEventArgs e)
 {
     e.IsAccepted = licenseAcceptanceService.AcceptLicenses(e.Packages);
 }
		void AcceptLicenses (object sender, AcceptLicensesEventArgs e)
		{
			foreach (IPackage package in e.Packages) {
				ReportLicenseAgreementWarning (package);
			}
			e.IsAccepted = true;
		}