[Mono-list] Mono Embedding C-API : Get a MonoClass* without knowing the namespace.

jonathan at mugginsoft.com jonathan at mugginsoft.com
Tue Mar 18 19:45:54 UTC 2014


On 7 Mar 2014, at 21:21, candl <kredaxx at gmail.com> wrote:
> 
> There's the reflection API available from C code which could potentially achieve what I want, but I have no idea how to use it, though :(. Would appreciate any help. Thanks.
> 
Rather that wrestling with the embedded API on this it might be better to write a C# helper method that locates the required class.
You can return a type to the C API and proceed from there.

This might help point the way:
http://stackoverflow.com/questions/8483406/coercing-monoobject-to-monoclass-where-a-method-call-returns-a-type

Jonathan














More information about the Mono-list mailing list