12 references to NuGetConfiguration
aspire (4)
DotNet\DotNetAppHostNuGetConfigBuilder.cs (2)
19return new NuGetConfiguration(settings, operation.ConfigSources, operation.Overlay) 32return new NuGetConfiguration(settings, operation.ConfigSources, operation.Overlay)
NuGet\NuGetConfigurationBuilder.cs (2)
81return new NuGetConfiguration(settings, [], overlay); 117return new NuGetConfiguration(
Aspire.Cli.Tests (8)
NuGet\NuGetConfigurationTests.cs (8)
555var configuration = new NuGetConfiguration(CreateSettings([]), [], overlay: null); 576Assert.False(new NuGetConfiguration(settings, [], overlay).HasSourcePolicyChanges); 587Assert.True(new NuGetConfiguration(settings, [], overlay).HasSourcePolicyChanges); 601Assert.Equal(clearMappings, new NuGetConfiguration(settings, [], overlay).HasSourcePolicyChanges); 616Assert.Equal(reenableSource, new NuGetConfiguration(settings, [], overlay).HasSourcePolicyChanges); 624Assert.True(new NuGetConfiguration(CreateSettings([]), [], overlay).HasSourcePolicyChanges); 638Assert.Equal(isEnabled, new NuGetConfiguration(settings, [], overlay).HasSourcePolicyChanges); 646Assert.False(new NuGetConfiguration(CreateSettings([]), [], overlay).HasSourcePolicyChanges);