[IronPython] How to implement in C# ironpython extension?

luismg luismgz at gmail.com
Mon Nov 20 20:13:54 CET 2006


Look into the "Tutorial" folder of the ironpython distribution.
There are examples in C# and in VB.Net.

If you know C# or any other .Net language, it's just a matter of
writing your classes and compile them as .dll.
Then you can create a "DLLs" directory into the same folder where your
ipy.exe is located, and put all your extensions there.

Lets say you defined a "Person" class into "MyExtension.dll".
You simply add MyExtension.dll to your DLLs folder, and type "import
Person" in your program.

Luis




More information about the Ironpython-users mailing list