But there is one limitation to this - you cannot currently override protected 
methods or access protected fields when subclassing.  We should have that fixed 
for the next release.

________________________________________
From: [EMAIL PROTECTED] On Behalf Of Martin Maly
Sent: Saturday, December 10, 2005 2:35 PM
To: Discussion of IronPython
Subject: Re: [IronPython] IronPython 0.9.6 released

IronPython does support subclassing and method overriding so your scenario 
should work.

Martin

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Michael Latta
Sent: Saturday, December 10, 2005 2:06 PM
To: 'Discussion of IronPython'
Subject: Re: [IronPython] IronPython 0.9.6 released

Is it possible to use IronPython to subclass a CLR class?

In particular can I use IronPython to create a subclass of WWF Activity and
override the methods needed to implement custom activities?  Using
IronPython as a workflow scripting language would be pretty cool.

The discussion about mangled methods and class names raises questions about
interoperating with frameworks like WWF where subclassing is involved.

Michael


_______________________________________________
users mailing list
users@lists.ironpython.com
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com
_______________________________________________
users mailing list
users@lists.ironpython.com
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com
_______________________________________________
users mailing list
users@lists.ironpython.com
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com

Reply via email to