IPackageRepository CreatePackageRepositoryForActivePackageSource() { PackageSource packageSource = ConsoleHost.GetActivePackageSource(Source); return(registeredPackageRepositories.CreateRepository(packageSource)); }
IPackageRepository CreatePackageRepository(PackageSource source) { return(registeredPackageRepositories.CreateRepository(source)); }
public IPackageRepository GetPackageRepository(PackageSource packageSource) { return(registeredRepositories.CreateRepository(packageSource)); }
IPackageRepository CreatePackageRepository(string packageSourceUrl) { IPackageRepository repository = registeredPackageRepositories.CreateRepository(new PackageSource(packageSourceUrl)); return(new PriorityPackageRepository(MachineCache.Default, repository)); }