Hello,

In my application I create scripting engine A. I also have a string
containing a GUID, guidA.

Also in my application at the same time I create scripting engine B and I
have guidB.

I have a C# class called Foo that both engines can access from IronPython,
e.g.:

f = Foo()

How can I cleanly obtain the GUID (A or B) for the current current engine
inside the constructor for Foo? E.g.:

class Foo {
  void Foo() {
    // get GUID for current engine
  }
}

Thanks! Andy
_______________________________________________
Ironpython-users mailing list
Ironpython-users@python.org
https://mail.python.org/mailman/listinfo/ironpython-users

Reply via email to