On Aug 11, 2006, at 5:32 PM, Dino Viehland wrote:
You're quickly getting into the guts of the runtime, so you'll find
most of what you want over in Ops.
To get an attribute off of an object you can do TryGetAttr(object
o, SymbolId name, out object ret). o would be your ls, SymbolId's
I'd like to do the equivalent of something like...
import RemoteAdmin
ls = RemoteAdmin.ConnectToService(localhost,LogViewer)
numEntries = ls.GetNumberOfEntries()
e = ls.GetEntry(numEntries - 1)
entryString = str(e)
in C#.
So I get as far as
PythonEngine e = new PythonEngine();
# The
: [EMAIL PROTECTED] [mailto:users-
[EMAIL PROTECTED] On Behalf Of Jason Ferrara
Sent: Friday, August 11, 2006 12:08 PM
To: Discussion of IronPython
Subject: [IronPython] Need help using IronPython from C#
I'd like to do the equivalent of something like...
import RemoteAdmin
ls
then you can do whatever you want w/ the
value from there.
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jason Ferrara
Sent: Friday, August 11, 2006 1:29 PM
To: Discussion of IronPython
Subject: Re: [IronPython] Need help using IronPython from C#
On Aug 11