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