Re: [IronPython] All classes that subclass a given type

2010-10-29 Thread Michael Foord
On 28/10/2010 19:15, Slide wrote: I am trying to find all the classes defined in Python that inherit from a C# class. I can iterate through the types in the ScriptScope using GetVariableName() and then checking if it's a PythonType object, but I don't know how to get the classes that it inherits

[IronPython] All classes that subclass a given type

2010-10-28 Thread Slide
I am trying to find all the classes defined in Python that inherit from a C# class. I can iterate through the types in the ScriptScope using GetVariableName() and then checking if it's a PythonType object, but I don't know how to get the classes that it inherits from. Can anyone help out with this?