18 writes to HasExplicitChannel
aspire (1)
Commands\UpdateCommand.cs (1)
495HasExplicitChannel = hasExplicitChannel || channelFromConfig,
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, 2410HasExplicitChannel = false, 2500HasExplicitChannel = false,
Projects\ProjectUpdaterNuGetConfigurationTests.cs (4)
1166HasExplicitChannel = true, 1278HasExplicitChannel = true, 1452HasExplicitChannel = true, 2070HasExplicitChannel = hasExplicitChannel,
Projects\ProjectUpdaterTests.cs (1)
2141HasExplicitChannel = channel.Type == PackageChannelType.Explicit,
8 references to HasExplicitChannel
aspire (3)
Projects\ProjectUpdater.cs (3)
38if (context.DryRun && (!context.HasExplicitChannel || channel.Type != PackageChannelType.Explicit)) 57var hasExplicitChannelPolicy = context.HasExplicitChannel && channel.Type == PackageChannelType.Explicit; 444if (!context.HasExplicitChannel || context.Channel.Type != PackageChannelType.Explicit)
Aspire.Cli.Tests (5)
Commands\UpdateCommandTests.cs (5)
2906Assert.Equal(hasExplicitChannel, context.HasExplicitChannel); 2925Assert.Equal(hasExplicitChannel, context.HasExplicitChannel); 2981Assert.True(context.HasExplicitChannel); 3007Assert.False(context.HasExplicitChannel); 3046Assert.True(context.HasExplicitChannel);