[IronPython] dispatch console command

Dino Viehland dinov at exchange.microsoft.com
Wed May 16 17:41:47 CEST 2007


Instead of just setting it you'll need to call it w/ the object you had - it should be a fairly simple tweak.  It will then return the previous command dispatcher giving a nice chaining which wasn't possible before.

What do you mean by on a per assembly base?  As in having multiple config files?

-----Original Message-----
From: users-bounces at lists.ironpython.com [mailto:users-bounces at lists.ironpython.com] On Behalf Of Gerard Braad Jr.
Sent: Wednesday, May 16, 2007 1:24 AM
To: users at lists.ironpython.com
Subject: Re: [IronPython] dispatch console command

It is not possible for me to use the same structure in an easy way.
Since it seems

AttributeError: attribute 'SetCommandDispatcher' of
'ScriptDomainManager' object is read-only

Can the ScriptDomainManager also handle configuration files on a per
assembly base?

On May 15, 9:49 pm, Dino Viehland <d... at exchange.microsoft.com> wrote:
> This has moved to ScriptDomainManager.CurrentManager.GetCommandDispatcher/SetCommandDispatcher.

_______________________________________________
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