23 references to SourceUri
dotnet (8)
NugetPackageDownloader\NuGetPackageDownloader.cs (8)
551if (defaultSources.Any(defaultSource => defaultSource.SourceUri == packageSource.SourceUri)) 579var existingUris = new HashSet<Uri>(sourceList.Where(s => s.SourceUri != null).Select(s => s.SourceUri)); 598if (newSource.SourceUri != null && existingUris.Contains(newSource.SourceUri)) 604if (newSource.SourceUri != null) 606existingUris.Add(newSource.SourceUri);
Microsoft.DotNet.Cli.Utils (1)
PathUtility.cs (1)
14return otherFiles.Any(source => source.SourceUri.Equals("https://api.nuget.org/v3/index.json"));
NuGet.CommandLine.XPlat (2)
Commands\PackageSearch\PackageSearchResultTableRenderer.cs (2)
37_loggerWithColor.LogMinimal($"Source: {source.Name} ({source.SourceUri})"); 48_loggerWithColor.LogMinimal($"Source: {source.Name} ({source.SourceUri})");
NuGet.Protocol (12)
HttpSource\HttpHandlerResourceV3Provider.cs (1)
61var sourceUri = packageSource.SourceUri;
HttpSource\HttpSource.cs (2)
59_sourceUri = packageSource.SourceUri; 357response = await RetryHandler.SendAsync(request, _packageSource.SourceUri.OriginalString, log, cancellationToken);
HttpSource\HttpSourceAuthenticationHandler.cs (4)
156CredentialsSuccessfullyUsed(_packageSource.SourceUri, promptCredentials); 216_ = _credentialService.TryGetLastKnownGoodCredentialsFromCache(uri: _packageSource.SourceUri, isProxy: false, out promptCredentials); 272var proxy = proxyCache?.GetProxy(_packageSource.SourceUri); 275.GetCredentialsAsync(_packageSource.SourceUri, proxy, type, message, token);
Plugins\RequestHandlers\GetCredentialsRequestHandler.cs (3)
177networkCredential = credential?.GetCredential(packageSource.SourceUri, null); 242var sourceUri = packageSource.SourceUri; 259var sourceUri = packageSource.SourceUri;
Resources\PluginResource.cs (2)
80var key = $"{MessageMethod.SetCredentials}.{_packageSource.SourceUri}"; 106var sourceUri = _packageSource.SourceUri;