Re: Using mono with Inner class

Robert Jordan <[email protected]>
Newsgroups gmane.comp.gnome.mono.devel
Message-ID <[email protected]>
On 06.03.2017 23:54, howard.rubin wrote:
> I need to use mono with inner classes but mono_class_from_name() always
> returns null. Help!!!

Given an outer class "A" and a nested class "B", the naming
convention for mono_class_from_name () is:

	"A/B"

in your case:

mono_class_from_name(image, "MyNamespace", "OuterClass/InnerClass");

Robert


_______________________________________________
Mono-devel-list mailing list
[email protected]
http://lists.dot.net/mailman/listinfo/mono-devel-list
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.