[IronPython] How to implement in C# ironpython extension?
Luis M. González
luismg at gmx.net
Mon Nov 20 11:32:43 PST 2006
1) Just write your class or classes in C# and compile them as a .dll.
2) Create a "DLLs" folder into your ironpython directory (where ipy.exe is located).
3) Throw your dll into this folder.
4) from your program, simply type "import MyClass" or "from MyNamespace import MyClass".
Once you put your compiled dlls into the "DLLs" folder, the namespaces and classes defined in them are available for being imported into your programs, as if they were writen in python.
Note that this is a new feature of the latest distribution.
Hope this helps...
Luis
----- Original Message -----
From: Andrew
To: users at lists.ironpython.com
Sent: Monday, November 20, 2006 8:53 AM
Subject: [IronPython] How to implement in C# ironpython extension?
How to implement in C# ironpython extension which trully behaves as ironpython class instance?
------------------------------------------------------------------------------
_______________________________________________
users mailing list
users at lists.ironpython.com
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ironpython.com/pipermail/users-ironpython.com/attachments/20061120/ee60958a/attachment.html
More information about the users
mailing list