Re: [Doxygen-users] Problem with documenting generic parameter contraints in c#
Brought to you by:
dimitri
From: Steen M. <st...@db...> - 2007-05-25 07:48:01
|
Sorry for the typo, the part in the generated documentation where it reads "<cid:part1...>" should not have shown... The correct rendering should be (in its complete form): List<T> GenericList() where T Steen Manniche wrote: > Hi. > > We have a problem generating dokumentation from certain generic classes > in our code base. > The problem consists of getting doxygen to show the parameter contraints > from the C# code: > > C# example: > > using System; > using System.Collections.Generic; > public sealed class GenericsTest{ > > public List<T> GenericList <T>() where T:IDisposable{ > return new List<T>(); > } > > } > > This will show up in the documentation as: > > Public Member Functions > List< T > GenericList () where T > > > Thereby stripping the documentation of the information that the class > itself is generic (the "GenericList<T>" bit) as well as the information > on the parameter constraints(the "where T: IDisposable" bit) > > This looks like a neglection in the parsing of the c# source, which I > would be happy to provide a patch to, if I was able to find my way > through the doxygen code... > > Pointers, solutions or ideas are most welcome! > > Best regards, > Steen Manniche > Danish Library Centre > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ > Doxygen-users mailing list > Dox...@li... > https://lists.sourceforge.net/lists/listinfo/doxygen-users > > |