[IronPython] Getting Python class of dynamic object from C#
Andreas Schlapsi
andreas.schlapsi at gmail.com
Wed Sep 29 00:12:25 CEST 2010
Hi!
I'd like to get the class name (including the name of the module) of a
dynamic object (IronPython object) in C#. I tried to get the class instance
with code similar to that:
dynamic myobject = item;
dynamic itemClass = myobject.__class__;
Unfortunately this doesn't work. I could get the class name using the
ICustomTypeDescriptor interface, but this doesn't include the module.
Is there a way to do this?
Andreas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ironpython-users/attachments/20100929/3a1a8f35/attachment.html>
More information about the Ironpython-users
mailing list