Sorry for the an incomplete question. Here is more information.
I am trying to embed mono inside c++ in Windows and Linux. I have tried:
MonoImage* image = mono_get_corlib();
MonoClass* class = mono_class_from_name(image, "System.Collections.Generic",
"List<T>");
MonoClass* class = mono_class_from_name(image, "System.Collections.Generic",
"List<String>");
MonoClass* class = mono_class_from_name(image, "System.Collections.Generic",
"List");
but with no success. Thanks for any suggestions!
From: Wuxiang Lin
Sent: Monday, March 23, 2015 10:42 PM
To: [email protected]
Hello everybody.
How can I instantiate a generic type, like List<String> from mscorlib?
I thought I should use “mono_class_from_generic_parameter”, but not sure how to
use this function.
Thanks for any hints and suggestions.
Wuxiang
_______________________________________________
Mono-list maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-list
_______________________________________________
Mono-list maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-list