string GetSomePackageSourcesCouldNotBeReachedErrorMessage(MonoDevelopAggregateRepository repository)
        {
            string message = GettextCatalog.GetString("Some package sources could not be reached.");

            return(new AggregateExceptionErrorMessage(message, repository.GetAggregateException()).ToString());
        }
		string GetSomePackageSourcesCouldNotBeReachedErrorMessage (MonoDevelopAggregateRepository repository)
		{
			string message = GettextCatalog.GetString ("Some package sources could not be reached.");
			return new AggregateExceptionErrorMessage (message, repository.GetAggregateException ()).ToString ();
		}
		void AddAggregateRepository (params IPackageRepository[] repositories)
		{
			var repository = new MonoDevelopAggregateRepository (repositories);
			registeredPackageRepositories.ActivePackageSource = registeredPackageRepositories.PackageSources [0];
			registeredPackageRepositories.GetActiveRepositoryAction = () => {
				return repository;
			};
		}