Eoin Coffey wrote:
Hey All,

Right now I'm working on embedding the Mono runtime into an application. The Mono C API is, for the most part, very clean and well layed out.

The only thing that is lacking is decent docs of that API.

What I want to know is if there is a way to query an image or assembly about what classes it contains. I know the assemblies carry the information, I just haven't found a way for Mono to tell me about it yet :-D

Obtain a MonoReflectionAssembly object with mono_assembly_get_object ()
On this object you can invoke all members of the managed Assembly type.

See mono/metadata/reflection.h for other MonoReflectionXyz declarations.

Rob

_______________________________________________
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list

Reply via email to