[IronPython] Visit Scope property of class CommandLine

Dino Viehland dinov at microsoft.com
Sun Oct 5 03:42:16 CEST 2008


You could just subclass it and expose it publicly under another name.  Other than that you'd need to just use the general hosting APIs to do what the command line is doing.

-----Original Message-----
From: users-bounces at lists.ironpython.com [mailto:users-bounces at lists.ironpython.com] On Behalf Of Yongming
Sent: Saturday, October 04, 2008 6:34 PM
To: users at lists.ironpython.com
Subject: [IronPython] Visit Scope property of class CommandLine

Hi,
When tried to embed IronPython console into my application, I need
expose some object to the console's CommandLine's scope. But the Scope
property of class CommandLine is protected. So is there another way to
do this?
Thanks,
Yongming
_______________________________________________
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