1 write to Id
Microsoft.DotNet.Build.Tasks.Feed (1)
src\model\TargetChannelConfig.cs (1)
71Id = id;
22 references to Id
Microsoft.DotNet.Build.Tasks.Feed (15)
src\model\TargetChannelConfig.cs (4)
86$"\n Channel ID: '{Id}' " + 107Id == config.Id && 140hash.Add(Id);
src\ProductionChannelValidator.cs (3)
50_logger.LogInformation($"Target channel {targetChannel.Id} is not a production channel, skipping validation"); 54_logger.LogInformation($"Validating build {build.Id} for production channel {targetChannel.Id}"); 91LogValidationFailure(ex, $"Error validating build {build.Id} for production channel {targetChannel.Id}");
src\PublishArtifactsInManifestBase.cs (6)
265Log.LogMessage(MessageImportance.Normal, $"Validating production channel {targetChannel.Id}"); 271Log.LogMessage(MessageImportance.Normal, $"Build validation succeeded for production channel {targetChannel.Id}"); 275Log.LogWarning($"Build validation audit failure for production channel {targetChannel.Id}. This is currently treated as a warning."); 279Log.LogError($"Build validation failed for production channel {targetChannel.Id}"); 283Log.LogError($"Unknown validation result '{validationResult}' for production channel {targetChannel.Id}"); 289Log.LogMessage(MessageImportance.Normal, $"Skipping validation for non-production channel {targetChannel.Id}");
src\PublishArtifactsInManifestV3.cs (1)
111ci.Id == targetChannelId &&
src\PublishArtifactsInManifestV4.cs (1)
107ci.Id == targetChannelId &&
Microsoft.DotNet.Build.Tasks.Feed.Tests (7)
GeneralTests.cs (1)
29channelConfig.Id.Should().BeGreaterThan(0);
SetupTargetFeedConfigV3Tests.cs (3)
167var channelConfig = PublishingConstants.ChannelInfos.First(c => c.Id == 2); 283var channelConfig = PublishingConstants.ChannelInfos.First(c => c.Id == 2); 397var channelConfig = PublishingConstants.ChannelInfos.First(c => c.Id == 2);
SetupTargetFeedConfigV4Tests.cs (3)
162var channelConfig = PublishingConstants.ChannelInfos.First(c => c.Id == 2); 256var channelConfig = PublishingConstants.ChannelInfos.First(c => c.Id == 2); 350var channelConfig = PublishingConstants.ChannelInfos.First(c => c.Id == 2);