6 instantiations of PackageSourceLocation
dotnet (6)
Commands\Tool\Install\ToolInstallGlobalOrToolPathCommand.cs (2)
100var packageSourceLocation = new PackageSourceLocation(string.IsNullOrEmpty(configOption) ? null : new FilePath(configOption), sourceFeedOverrides: _source, additionalSourceFeeds: _addSource, basePath: _currentWorkingDirectory); 109var packageSourceLocationForValidation = new PackageSourceLocation(
Commands\Workload\InstallingWorkloadCommand.cs (1)
105new PackageSourceLocation(string.IsNullOrEmpty(configOption) ? null : new FilePath(configOption), sourceFeedOverrides: sourceOption);
Commands\Workload\Repair\WorkloadRepairCommand.cs (1)
38new PackageSourceLocation(string.IsNullOrEmpty(configOption) ? null : new FilePath(configOption), sourceFeedOverrides: sourceOption);
ToolPackage\ToolPackageDownloaderBase.cs (2)
116var packageSourceLocation = new PackageSourceLocation(packageLocation.NugetConfig, packageLocation.RootConfigDirectory, packageLocation.SourceFeedOverrides, packageLocation.AdditionalFeeds, _currentWorkingDirectory, packageLocation.PackageSourceOverrides); 418var packageSourceLocation = new PackageSourceLocation(
39 references to PackageSourceLocation
dotnet (39)
Commands\Tool\Install\ToolInstallGlobalOrToolPathCommand.cs (2)
100var packageSourceLocation = new PackageSourceLocation(string.IsNullOrEmpty(configOption) ? null : new FilePath(configOption), sourceFeedOverrides: _source, additionalSourceFeeds: _addSource, basePath: _currentWorkingDirectory); 109var packageSourceLocationForValidation = new PackageSourceLocation(
Commands\Workload\Install\FileBasedInstaller.cs (2)
42private readonly PackageSourceLocation _packageSourceLocation; 55PackageSourceLocation packageSourceLocation = null,
Commands\Workload\Install\WorkloadInstallerFactory.cs (1)
26PackageSourceLocation packageSourceLocation = null,
Commands\Workload\Install\WorkloadManifestUpdater.cs (2)
32private readonly PackageSourceLocation _packageSourceLocation; 44PackageSourceLocation packageSourceLocation = null,
Commands\Workload\InstallingWorkloadCommand.cs (1)
42protected readonly PackageSourceLocation _packageSourceLocation;
Commands\Workload\Repair\WorkloadRepairCommand.cs (1)
18private readonly PackageSourceLocation _packageSourceLocation;
Commands\Workload\WorkloadManifestCorruptionRepairer.cs (2)
22private readonly PackageSourceLocation? _packageSourceLocation; 35PackageSourceLocation? packageSourceLocation,
NugetPackageDownloader\INuGetPackageDownloader.cs (6)
17PackageSourceLocation packageSourceLocation = null, 25PackageSourceLocation packageSourceLocation = null, 31PackageSourceLocation packageSourceLocation = null, 36PackageSourceLocation packageSourceLocation = null, 41PackageSourceLocation packageSourceLocation = null); 45PackageSourceLocation packageSourceLocation = null);
NugetPackageDownloader\NuGetPackageDownloader.cs (13)
161PackageSourceLocation packageSourceLocation = null, 303PackageSourceLocation packageSourceLocation = null, 373PackageSourceLocation packageSourceLocation = null, 445private IEnumerable<PackageSource> LoadOverrideSources(PackageSourceLocation packageSourceLocation = null) 468private void ValidateSourceMappingCompatibility(PackageSourceLocation sourceLocation, PackageSourceMapping mapping) 487private List<PackageSource> LoadDefaultSources(PackageId packageId, PackageSourceLocation packageSourceLocation = null, PackageSourceMapping packageSourceMapping = null) 563public IEnumerable<PackageSource> LoadNuGetSources(PackageId packageId, PackageSourceLocation packageSourceLocation = null, PackageSourceMapping packageSourceMapping = null) 786PackageSourceLocation packageSourceLocation = null) 800PackageSourceLocation packageSourceLocation = null) 934PackageSourceLocation packageSourceLocation = null, 940public async Task<IEnumerable<NuGetVersion>> GetLatestPackageVersions(PackageId packageId, int numberOfResults, PackageSourceLocation packageSourceLocation = null, bool includePreview = false) 950public async Task<IEnumerable<string>> GetPackageIdsAsync(string idStem, bool allowPrerelease, PackageSourceLocation packageSourceLocation = null, CancellationToken cancellationToken = default) 965public async Task<IEnumerable<NuGetVersion>> GetPackageVersionsAsync(PackageId packageId, string versionPrefix = null, bool allowPrerelease = false, PackageSourceLocation packageSourceLocation = null, CancellationToken cancellationToken = default)
ShellShim\ShellShimTemplateFinder.cs (2)
18PackageSourceLocation packageSourceLocation) 22private readonly PackageSourceLocation _packageSourceLocation = packageSourceLocation;
ToolPackage\ToolPackageDownloader.cs (1)
59PackageSourceLocation packageSourceLocation,
ToolPackage\ToolPackageDownloaderBase.cs (6)
73PackageSourceLocation packageSourceLocation, 116var packageSourceLocation = new PackageSourceLocation(packageLocation.NugetConfig, packageLocation.RootConfigDirectory, packageLocation.SourceFeedOverrides, packageLocation.AdditionalFeeds, _currentWorkingDirectory, packageLocation.PackageSourceOverrides); 152PackageSourceLocation packageSourceLocation, 235PackageSourceLocation packageSourceLocation, 272PackageSourceLocation packageSourceLocation, 418var packageSourceLocation = new PackageSourceLocation(