Skip to content

Commit

Permalink
Basic ImplementedBy comments
Browse files Browse the repository at this point in the history
  • Loading branch information
Noggog committed Dec 29, 2020
1 parent 91ce0cb commit 1482c02
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions Loqui.Generation/ObjectGeneration.cs
Original file line number Diff line number Diff line change
Expand Up @@ -263,6 +263,15 @@ await Task.WhenAll(
}));
this._directlyInheritingObjectsTcs.SetResult(directlyInheritingObjs);

if (directlyInheritingObjs.Count > 0)
{
if (Comments == null)
{
Comments = new CommentCollection();
}
Comments.Comments.Summary.AppendLine($"Implemented by: [{string.Join(", ", directlyInheritingObjs.Select(x => x.ObjectName))}]");
}

await Task.WhenAll(
this.gen.GenerationModules.Select((m) => m.LoadWrapup(this)));
}
Expand Down

0 comments on commit 1482c02

Please sign in to comment.