public void UpdatePackage(
            IPackageRepository repository,
            IPackage package,
            IEnumerable <PackageOperation> operations)
        {
            ISharpDevelopPackageManager packageManager = CreatePackageManager(repository);

            packageManager.UpdatePackage(package, operations);
            projectService.RefreshProjectBrowser();
            RecentPackageRepository.AddPackage(package);
            OnPackageInstalled();
        }
		public IPackageRepository CreateRecentPackageRepository()
		{
			recentPackageRepository = new RecentPackageRepository(this);
			return recentPackageRepository;
		}
 void CreateRepository(IList<RecentPackageInfo> recentPackages)
 {
     packageManagementEvents = new PackageManagementEvents();
     repository = new RecentPackageRepository(recentPackages, aggregateRepository, packageManagementEvents);
 }
 public IPackageRepository CreateRecentPackageRepository()
 {
     recentPackageRepository = new RecentPackageRepository(this);
     return(recentPackageRepository);
 }
		void CreateRepository(IPackageManagementService packageManagementService)
		{
			repository = new RecentPackageRepository(packageManagementService);
		}
		void CreateRepository (IList<RecentPackageInfo> recentPackages)
		{
			repository = new RecentPackageRepository (recentPackages, aggregateRepository);
		}