Re: [IronPython] CallTargetX delegates

2009-09-14 Thread Michael Foord
-- From: users-boun...@lists.ironpython.com [mailto:users-boun...@lists.ironpython.com] On Behalf Of Michael Foord Sent: Monday, September 14, 2009 1:19 PM To: Discussion of IronPython Subject: Re: [IronPython] CallTargetX delegates Tomas Matousek wrote: We’ve made change recently (last week) on .

Re: [IronPython] CallTargetX delegates

2009-09-14 Thread Tomas Matousek
IronPython Subject: Re: [IronPython] CallTargetX delegates Tomas Matousek wrote: > > We’ve made change recently (last week) on .NET 2.0 you’ll need to use > a different namespace and assembly: > > > > import clr > > clr.AddReference(‘Microsoft.Scripting’) > >

Re: [IronPython] CallTargetX delegates

2009-09-14 Thread Michael Foord
thon *Subject:* Re: [IronPython] CallTargetX delegates -- http://www.ironpythoninaction.com On 14 Sep 2009, at 18:59, Dino Viehland <mailto:di...@microsoft.com>> wrote: To use Func you just need to do: import clr clr.AddReference(‘System.Core’) from

Re: [IronPython] CallTargetX delegates

2009-09-14 Thread Tomas Matousek
[mailto:users-boun...@lists.ironpython.com] On Behalf Of Michael Foord Sent: Monday, September 14, 2009 11:04 AM To: Discussion of IronPython Cc: Discussion of IronPython Subject: Re: [IronPython] CallTargetX delegates -- http://www.ironpythoninaction.com On 14 Sep 2009, at 18:59, Dino Viehland

Re: [IronPython] CallTargetX delegates

2009-09-14 Thread Michael Foord
Subject: Re: [IronPython] CallTargetX delegates How would someone replace CallTargetX with Func<...> within a script? For example, how would you change the Invoke calls in onChanged and onRenamed here: http://www.ironpython.info/index.php/Invoking_onto_the_GUI_%28Control%29_Thread

Re: [IronPython] CallTargetX delegates

2009-09-14 Thread Dino Viehland
lists.ironpython.com [mailto:users-boun...@lists.ironpython.com] On Behalf Of Brian Curtin Sent: Monday, September 14, 2009 10:53 AM To: Discussion of IronPython Subject: Re: [IronPython] CallTargetX delegates How would someone replace CallTargetX with Func<...> within a script? For example

Re: [IronPython] CallTargetX delegates

2009-09-14 Thread Brian Curtin
t; Func<…> > >> internally. Ideally you can switch to using Func<> as well. > >> > >> > >> > >> From: users-boun...@lists.ironpython.com > >> [mailto:users-boun...@lists.ironpython.com] On Behalf Of David Escobar > >> S

Re: [IronPython] CallTargetX delegates

2009-09-02 Thread Davy Mitchell
; [mailto:users-boun...@lists.ironpython.com] On Behalf Of David Escobar >> Sent: Tuesday, September 01, 2009 5:41 PM >> To: Discussion of IronPython >> Subject: [IronPython] CallTargetX delegates >> >> >> >> In IronPython 2.6 beta 2, did the CallTarge

Re: [IronPython] CallTargetX delegates

2009-09-01 Thread David Escobar
[mailto: > users-boun...@lists.ironpython.com] *On Behalf Of *David Escobar > *Sent:* Tuesday, September 01, 2009 5:41 PM > *To:* Discussion of IronPython > *Subject:* [IronPython] CallTargetX delegates > > > > In IronPython 2.6 beta 2, did the CallTargetX delegates get moved to

Re: [IronPython] CallTargetX delegates

2009-09-01 Thread Dino Viehland
using Func<...> internally. Ideally you can switch to using Func<> as well. From: users-boun...@lists.ironpython.com [mailto:users-boun...@lists.ironpython.com] On Behalf Of David Escobar Sent: Tuesday, September 01, 2009 5:41 PM To: Discussion of IronPython Subject: [IronPython] Cal

[IronPython] CallTargetX delegates

2009-09-01 Thread David Escobar
In IronPython 2.6 beta 2, did the CallTargetX delegates get moved to another module or were they simply removed altogether? The only delegate in IronPython.Compiler is CallTarget0. I checked IronPython 2.0.2 and it has up to CallTarget16. ___ Users mailin