11 references to Compute
aspire (5)
NuGet\NuGetClient.cs (1)
1131
NuGetSourceIdentity.
Compute
(source.Source, identityKey),
NuGet\NuGetConfigurationBuilder.cs (4)
19
.Select(mapping => NuGetSourceIdentity.
Compute
(mapping.Source, settings.SourceIdentityKey))
20
.Append(NuGetSourceIdentity.
Compute
(PackageSources.NuGetOrg, settings.SourceIdentityKey))
169
var sourceIdentity = NuGetSourceIdentity.
Compute
(source, sourceIdentityKey);
443
var identity = NuGetSourceIdentity.
Compute
(mapping.SourceKey, settings.SourceIdentityKey);
Aspire.Cli.Tests (6)
NuGet\NuGetConfigurationTests.cs (1)
30
new("aspire-test-0", NuGetSourceIdentity.
Compute
(PackageSources.NuGetOrg, settings.SourceIdentityKey), isEnabled, true, false)
NuGet\NuGetTestHelperTests.cs (1)
26
Assert.Equal(NuGetSourceIdentity.
Compute
(PackageSources.NuGetOrg, snapshot.SourceIdentityKey), source.Identity);
Projects\PrebuiltAppHostServerTests.cs (2)
2358
NuGetSourceIdentity.
Compute
(source, s_sourceIdentityKey),
5326
NuGetSourceIdentity.
Compute
(source.Source, sourceIdentityKey),
Projects\ProjectUpdaterNuGetConfigurationTests.cs (2)
879
expectedConfiguredSources.Select(source => NuGetSourceIdentity.
Compute
(source, settings.SourceIdentityKey)).Order(),
883
var overrideIdentity = NuGetSourceIdentity.
Compute
(overrideSource, settings.SourceIdentityKey);