You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello,
I have created an app in C# in which I have embedded IronPython. Currently, I am able to execute a Testscript.py. I'm stuck because I'm not able to access all the properties I need. But when I'm debugging in Visual Studio and explore the object "CalcObj" Or "Scope" or "engine", I can clearly see the properties and non-public members objects (Key-value pair) that I want to access for example like functions defined in PY file (Add, sub etc), arguments (first, second).
I want to extract all these key pair values in c# and stored in array or list to use later in code. I tried a couple of ways but have no clue. I am new to c#, so learning along the way.
PFA, screenshots. hope to get a response from the community.
The text was updated successfully, but these errors were encountered:
Hello,
I have created an app in C# in which I have embedded IronPython. Currently, I am able to execute a Testscript.py. I'm stuck because I'm not able to access all the properties I need. But when I'm debugging in Visual Studio and explore the object "CalcObj" Or "Scope" or "engine", I can clearly see the properties and non-public members objects (Key-value pair) that I want to access for example like functions defined in PY file (Add, sub etc), arguments (first, second).
I want to extract all these key pair values in c# and stored in array or list to use later in code. I tried a couple of ways but have no clue. I am new to c#, so learning along the way.
PFA, screenshots. hope to get a response from the community.
The text was updated successfully, but these errors were encountered: