18 writes to HasExplicitChannel
aspire (1)
Commands\UpdateCommand.cs (1)
452HasExplicitChannel = hasExplicitChannel,
Aspire.Cli.Tests (17)
Projects\GuestAppHostProjectTests.cs (12)
1152HasExplicitChannel = false, 1258HasExplicitChannel = false, 1321HasExplicitChannel = false, 1369HasExplicitChannel = false, 1420HasExplicitChannel = false, 1673HasExplicitChannel = false, 1732HasExplicitChannel = false, 1792HasExplicitChannel = false, 1848HasExplicitChannel = false, 1897HasExplicitChannel = false, 2407HasExplicitChannel = false, 2497HasExplicitChannel = false,
Projects\ProjectUpdaterNuGetConfigurationTests.cs (4)
987HasExplicitChannel = true, 1099HasExplicitChannel = true, 1265HasExplicitChannel = true, 1553HasExplicitChannel = hasExplicitChannel,
Projects\ProjectUpdaterTests.cs (1)
2137HasExplicitChannel = channel.Type == PackageChannelType.Explicit,
5 references to HasExplicitChannel
aspire (2)
Projects\ProjectUpdater.cs (2)
48var hasExplicitChannelPolicy = context.HasExplicitChannel && channel.Type == PackageChannelType.Explicit; 393if (!context.HasExplicitChannel || context.Channel.Type != PackageChannelType.Explicit)
Aspire.Cli.Tests (3)
Commands\UpdateCommandTests.cs (3)
2892Assert.Equal(hasExplicitChannel, context.HasExplicitChannel); 2920Assert.True(context.HasExplicitChannel); 2948Assert.False(context.HasExplicitChannel);