[IronPython] Updating WebServices samples

Dino Viehland dinov at exchange.microsoft.com
Fri May 9 17:46:47 CEST 2008


And ICallable is the same - you can now mark a method w/ SpecialName and call it "Call" and it'll be invoked when you're calling the object.  You can even have multiple overloads, all strongly typed, etc...

-----Original Message-----
From: users-bounces at lists.ironpython.com [mailto:users-bounces at lists.ironpython.com] On Behalf Of Sanghyeon Seo
Sent: Friday, May 09, 2008 6:39 AM
To: Discussion of IronPython
Subject: Re: [IronPython] Updating WebServices samples

2008/5/9 Christian Muirhead <christian.muirhead at resolversystems.com>:
> Is there any chance that someone has updated these to work with the IP2
> architecture? If not, how much work would people expect it to be? The errors
> I saw when I quickly tried to compile the C# were primarily about not being
> able to find the IAttributesInjector and ICallable interfaces - do these
> exist in the same form in the new architecture?

I think IAttributesInjector -- which was hacky, IMO -- has been
replaced by defining GetBoundMember method and marking the method with
SpecialNameAttribute.

Details are here:
http://blogs.msdn.com/srivatsn/archive/2008/04/12/turning-your-net-object-models-dynamic-for-ironpython.aspx

--
Seo Sanghyeon
_______________________________________________
Users mailing list
Users at lists.ironpython.com
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com




More information about the Ironpython-users mailing list