public IPackageManagementProject GetActiveProject()
 {
     if (HasActiveProject())
     {
         return(GetActiveProject(registeredPackageRepositories.CreateAggregateRepository()));
     }
     return(null);
 }
 IEnumerable <IPackageManagementProject> GetProjects()
 {
     return(GuiSyncDispatch(() => {
         IPackageRepository repository = registeredPackageRepositories.CreateAggregateRepository();
         return solution.GetProjects(repository).ToList();
     }));
 }
        IQueryable <IPackage> GetUpdatedPackages()
        {
            IPackageRepository aggregateRepository = registeredPackageRepositories.CreateAggregateRepository();
            UpdatedPackages    updatedPackages     = CreateUpdatedPackages(aggregateRepository);

            updatedPackages.SearchTerms = Filter;
            return(updatedPackages.GetUpdatedPackages().AsQueryable());
        }
Esempio n. 4
0
        IQueryable <IPackage> GetUpdatedPackages()
        {
            IPackageRepository        aggregateRepository = registeredPackageRepositories.CreateAggregateRepository();
            IPackageManagementProject project             = GetSelectedProject(aggregateRepository);
            var updatedPackages = new UpdatedPackages(project, aggregateRepository);

            updatedPackages.SearchTerms = Filter;
            return(updatedPackages.GetUpdatedPackages().AsQueryable());
        }
Esempio n. 5
0
        IEnumerable <IPackageManagementProject> GetProjects()
        {
            IPackageRepository repository = registeredPackageRepositories.CreateAggregateRepository();

            return(solution.GetProjects(repository).ToList());
        }