[Mono-list] Re: Embedding Mono Question

Robert Jordan robertj at gmx.net
Wed Sep 14 06:16:29 EDT 2005


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



More information about the Mono-list mailing list