go to post Jonathan Card · Feb 6 The code from the original version of the article has been updated. The Spectre of Dumb Typos lies in wait for us all. Specifically: The constructor method is "%OnNew", not "OnNew". There was a typo in one of the method calls. There was some design confusion on whether "ExerciseMethod" should return a value or not, so apparently I compromised by doing both. Since I was editing it anyway, I adopted the best-practice of putting the classes in a namespace. I added a test, "TestNative", that isn't strictly a "unit test" and is more of an "integration test" or "system test" and made a call directly to the default implementation of Article.MyClass to provide an example of the behavior outside of the test harness.
go to post Jonathan Card · Feb 6 Why, yes! It should be!Sorry; I'm not sure why I seem to get that mixed up. Please don't tell the me-of-10-minutes-ago that we making fun of someone for such a newb mistake as checking in code they didn't exercise properly.I can't seem to cut-and-paste to my browser for some reason, so I'll try cut-and-pasting the updated article code into my browser and make another edit if needed.