[IronPython] In IronPython for ASP.NET CTP, Why attribute injector mechanism only applies for Get, not Set?

Neil(木野狐) chenrong2003 at gmail.com
Mon Dec 18 02:54:12 CET 2006


I found attribute injectors really simplified my work for creating an
application. such as the 'FindControl' shortcut for Controls. But it
only applies for getting a attribute from the target object, not Set.
for example, we can write:

a = ViewState.a

but it's not possible to write this:

ViewState.a = 'hello'

I don't know why IronPython only supports Get, but not Set operations
of a attribute injector. Can anybody tell me why?

Plus, there are no attribute injector support for the 'RepeaterItem'
type, and 'HttpSessionState'. I've implemented this by myself, and
added it to the Microsoft.Web.IronPython.dll, for my personal usage.

I'll appritiate you very much if someone tell me what's next for the
IronPython for ASP project, including new features introductions, I
really like it.

Best regards,

Neil Chen



More information about the Ironpython-users mailing list