Skip to content

Commit

Permalink
Merge pull request #797 from havit/feature/ComponentApiDocModelBuilde…
Browse files Browse the repository at this point in the history
…r_FixEnumSummaryOrder

ComponentApiDocModelBuilder - fix enum summary order
  • Loading branch information
hakenr committed Apr 27, 2024
2 parents 873fc0e + 93b351e commit 9cb50bc
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -149,7 +149,7 @@ private void MapEnum(DocXmlReader reader, ComponentApiDocModel model)
try
{
var enumValueComment = enumComments.ValueComments
.Where(o => o.Value == i)
.Where(o => o.Name == enumMember.Name)
.FirstOrDefault(c => !string.IsNullOrEmpty(c.Summary));

if (enumValueComment is not null)
Expand Down

0 comments on commit 9cb50bc

Please sign in to comment.