I have embedded IronPython between C# (NET4) and Ironpython (using dynamic), I learning how to use it (for data logging and test purpose)
I have dictionary<T> containing simple implementation String and INT, ie "XDATA:76 , YDATA:34, ZDATA:23, RESULT1:00, RESULT2:00" that is declared in C# as an instance object. It can be inside a class.
I also have ironpython code with reference class (or instance object) of same structure.
(1) How to pass the reference from C# to Python code, is this possible (not sure if this is the case)
(2) How to copy the object from C# to Python code.
After copy the data, the Python process the data and insert the results RESULT1, RESULT2, RESULT3
(3) How to return the multiple variable result back to C#, can Python pass dictionary class as object to C#(rather than value)?
A demo program would really be useful. The Python.py must be a filename.
Microsoft is conducting an online survey to understand your opinion of the Msdn Web site. If you choose to participate, the online survey will be presented to you when you leave the Msdn Web site.
Would you like to participate?