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