Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Generating Doxygen for C# projects with generic collections

I am using Doxygen and GraphViz Dot to generate some collaboration diagrams for a C# project. The problem is generic collections (like List<>) are not recognised by Doxygen. Does anyone have a solution to this?

I found this comment that doesn't seem very hopeful, but was wondering if there are any work-arounds.

like image 429
Bradley Marques Avatar asked Oct 29 '12 09:10

Bradley Marques


People also ask

What is doxygen in C?

Doxygen (/ˈdɒksidʒən/ DOK-see-jən) is a documentation generator and static analysis tool for software source trees. When used as a documentation generator, Doxygen extracts information from specially-formatted comments within the code.

How do I document macros in doxygen?

The section "Special Commands" lists the \def command, and the section "Automatic link generation" describes what you want to link to the macro. Use \def to document a macro separate from the declaration. Use #MACRO(params) to auto-link to said macro definition.


1 Answers

According to Doxygen's changelog, generics in C# were not being indexed prior to version 1.8.1.1 (released October 6). I don't see a corresponding bug for it, though looking at previous releases they've been supported for some time now.

As my comment above states, I don't see any issues using the current release (1.8.2). If that's the version you're using, please specifically mention what isn't working.

like image 87
Patrick Quirk Avatar answered Sep 28 '22 07:09

Patrick Quirk