public async Task <PackageLookupResult> FindVersionUpdate( PackageIdentity package, VersionChange allowedChange) { var foundVersions = await _packageVersionsLookup.Lookup(package.Id); return(VersionChanges.MakeVersions(package.Version, foundVersions, allowedChange)); }
public async Task <PackageLookupResult> FindVersionUpdate( PackageIdentity package, NuGetSources sources, VersionChange allowedChange) { var allowBetas = package.Version.IsPrerelease; var foundVersions = await _packageVersionsLookup.Lookup(package.Id, allowBetas, sources); return(VersionChanges.MakeVersions(package.Version, foundVersions, allowedChange)); }
public async Task <PackageLookupResult> FindVersionUpdate( PackageIdentity package, NuGetSources sources, VersionChange allowedChange, UsePrerelease usePrerelease) { var includePrerelease = ShouldAllowPrerelease(package, usePrerelease); var foundVersions = await _packageVersionsLookup.Lookup(package.Id, includePrerelease, sources); return(VersionChanges.MakeVersions(package.Version, foundVersions, allowedChange)); }