14 references to ShouldCreateNuGetConfig
aspire (7)
Projects\ProjectUpdater.cs (4)
86targetDirectory, configuration, channel.ShouldCreateNuGetConfig(), 94if (configuration is not null && !channel.ShouldCreateNuGetConfig()) 196if (!channel.ShouldCreateNuGetConfig()) 482context.Channel.ShouldCreateNuGetConfig(),
Templating\TemplateNuGetConfigService.cs (3)
82if (!channel.ShouldCreateNuGetConfig()) 151if (!matchingChannel.ShouldCreateNuGetConfig()) 171matchingChannel.ShouldCreateNuGetConfig(),
Aspire.Cli.Tests (7)
Packaging\PackageChannelTests.cs (7)
973Assert.False(channel.ShouldCreateNuGetConfig()); 989Assert.True(channel.ShouldCreateNuGetConfig()); 1005Assert.True(channel.ShouldCreateNuGetConfig()); 1021Assert.True(channel.ShouldCreateNuGetConfig()); 1032Assert.False(channel.ShouldCreateNuGetConfig()); 1046Assert.False(channel.ShouldCreateNuGetConfig()); 1062Assert.Equal(expected, channel.ShouldCreateNuGetConfig());