public IMonoDevelopPackageManager CreatePackageManager(
			IPackageRepository sourceRepository,
			IDotNetProject project)
		{
			SolutionPackageRepository solutionPackageRepository = CreateSolutionPackageRepository (project.ParentSolution);
			IProjectSystem projectSystem = CreateProjectSystem (project.DotNetProject);
			PackageOperationsResolverFactory packageOperationResolverFactory = new PackageOperationsResolverFactory();
			
			return new MonoDevelopPackageManager(
				sourceRepository,
				projectSystem,
				solutionPackageRepository,
				packageOperationResolverFactory);
		}
Beispiel #2
0
        public IMonoDevelopPackageManager CreatePackageManager(
            IPackageRepository sourceRepository,
            IDotNetProject project)
        {
            SolutionPackageRepository        solutionPackageRepository       = CreateSolutionPackageRepository(project.ParentSolution);
            IProjectSystem                   projectSystem                   = CreateProjectSystem(project.DotNetProject);
            PackageOperationsResolverFactory packageOperationResolverFactory = new PackageOperationsResolverFactory();

            return(new MonoDevelopPackageManager(
                       sourceRepository,
                       projectSystem,
                       solutionPackageRepository,
                       packageOperationResolverFactory));
        }