[Mono-list] Monodoc format question

Joshua Tauberer tauberer@for.net
Tue, 22 Jul 2003 20:37:01 -0400

Jaroslaw Kowalski wrote:
>>Today the only way to do it is to parse Type/TypeSignature/@Value for
>>"class", "interface", "struct". Shouldn't there be a more structural way to
>>do it?

This would have been a good idea to add when the ECMA-style format was 
changed to add this sort of information.

You can check the Base/BaseTypeName node, which will tell you if it's a 
System.ValueType, System.Delegate (or MulticastDelegate), System.Enum, 
or otherwise a class/interface.  The good thing about the type 
signatures in C# is "interface" and "class" are keywords, so they should 
never be the names of types.  If " class " is in the signature, then 
it's a class.

Duncan Mak wrote:
> The format used by the Gtk# documentation project is a slightly altered
> format that is based on the ECMA format.

All of the Mono class library documentation is in the modified format. 
See: http://www.nullenvoid.com/mono/wiki/index.php/ECMAStyleDocumentation

Good luck with the SWF app.

- Joshua Tauberer


** Nothing Unreal Exists **