21 references to Compute
aspire (8)
DotNet\DotNetAppHostNuGetConfigBuilder.cs (1)
85
.Select(source => NuGetSourceIdentity.
Compute
(source, settings.SourceIdentityKey))
DotNet\DotNetAppHostNuGetConfigMerger.cs (1)
222
NuGetSourceIdentity.
Compute
(
NuGet\BundleNuGetService.cs (1)
232
.Select(source => NuGetSourceIdentity.
Compute
(source, sourceIdentityKey))
NuGet\NuGetClient.cs (1)
1211
NuGetSourceIdentity.
Compute
(source.Source, identityKey),
NuGet\NuGetConfigurationBuilder.cs (4)
25
.Select(mapping => NuGetSourceIdentity.
Compute
(mapping.Source, settings.SourceIdentityKey))
26
.Append(NuGetSourceIdentity.
Compute
(PackageSources.NuGetOrg, settings.SourceIdentityKey))
173
var sourceIdentity = NuGetSourceIdentity.
Compute
(source, sourceIdentityKey);
486
var identity = NuGetSourceIdentity.
Compute
(mapping.SourceKey, settings.SourceIdentityKey);
Aspire.Cli.Tests (13)
NuGet\NuGetConfigurationTests.cs (8)
177
new(previousKey, NuGetSourceIdentity.
Compute
(previousSource, settings.SourceIdentityKey),
217
new("company-feed", NuGetSourceIdentity.
Compute
(selectedSource, settings.SourceIdentityKey),
219
new("other", NuGetSourceIdentity.
Compute
(otherSource, settings.SourceIdentityKey), true, false, false)
239
var identity = NuGetSourceIdentity.
Compute
(source, settings.SourceIdentityKey);
332
new("aspire-test-0", NuGetSourceIdentity.
Compute
(PackageSources.NuGetOrg, settings.SourceIdentityKey), isEnabled, true, false)
496
new("company-public", NuGetSourceIdentity.
Compute
(PackageSources.NuGetOrg, settings.SourceIdentityKey),
532
new("aspire-test", NuGetSourceIdentity.
Compute
(channelSource, settings.SourceIdentityKey),
534
new("nuget.org", NuGetSourceIdentity.
Compute
(PackageSources.NuGetOrg, settings.SourceIdentityKey),
NuGet\NuGetTestHelperTests.cs (1)
26
Assert.Equal(NuGetSourceIdentity.
Compute
(PackageSources.NuGetOrg, snapshot.SourceIdentityKey), source.Identity);
Projects\PrebuiltAppHostServerTests.cs (2)
2478
NuGetSourceIdentity.
Compute
(source, s_sourceIdentityKey),
5446
NuGetSourceIdentity.
Compute
(source.Source, sourceIdentityKey),
Projects\ProjectUpdaterNuGetConfigurationTests.cs (2)
891
expectedConfiguredSources.Select(source => NuGetSourceIdentity.
Compute
(source, settings.SourceIdentityKey)).Order(),
895
var overrideIdentity = NuGetSourceIdentity.
Compute
(overrideSource, settings.SourceIdentityKey);