Instantiating a python class in C#

后端 未结 4 1344
情话喂你
情话喂你 2020-11-28 02:42

I\'ve written a class in python that I want to wrap into a .net assembly via IronPython and instantiate in a C# application. I\'ve migrated the class to IronPython, created

4条回答
  •  有刺的猬
    2020-11-28 03:10

    I have searched high and low and I am afraid that there does not seem to be much information pertaining to this. I am pretty much certain that no one has devised a way to do this in the clean manner that you would like.

    The main reason I think this is a problem is that in order to see the PokerCard type in your C# application you would have to compile your Python code to IL. I don't believe that there are any Python->IL compilers out there.

提交回复
热议问题