Example #1
0
 void Generate <T>(IEnumerable <IDocumentationMember> documentedMembers, IGenerator <T> generator, List <Namespace> hierarchy) where T : class
 {
     foreach (T member in documentedMembers.OfType <T>())
     {
         try
         {
             generator.Add(hierarchy, member);
         }
         catch (UnsupportedDocumentationMemberException ex)
         {
             _eventAggregator.Publish(EventType.Warning, "Unsupported documentation member found: '" + ex.MemberName + "'");
         }
     }
 }