dinov at microsoft.com
Tue Mar 29 12:52:00 PDT 2011
> Yes, this was my main idea. It's very similar how SWIG directors handle
> cross-language polymorphism. At runtime I'd create a class which derives
> from TestClass and which overrides all virtual methods and properties.
> otherwise it will call the base class's (TestClass in the example) implementation.
Ok, then you totally want to look at NewTypeMaker in either IronRuby or IronPython
- they're slightly different but they both do the same thing and already handle all
sorts of corner cases w/ .NET types so it should be a good starting point.
More information about the Users