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: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Yongming
Sent: Saturday, October 04, 2008 6:34 PM
To: [email protected]
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
[email protected]
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com
_______________________________________________
Users mailing list
[email protected]
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com

Reply via email to