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