Wednesday, August 08, 2007

Using Python Classes from .NET

IronPython classes aren't true .NET classes, not least because you can swap out their base classes dynamically, add methods and have all sorts of dynamic fun with them if you really want to.

There are ways to use IronPython classes from C# (and other .NET languages) though. This cookbook recipe shows one approach, which involves inheriting from a C# class:

Using Python Classes from .NET

No comments:

Post a Comment

Note: only a member of this blog may post a comment.