this.DataBindings.Add(new Binding("Text", brain, "Dump"));

Development and .Net

  Home  |   Contact  |   Syndication    |   Login
  5 Posts | 0 Stories | 3 Comments | 3 Trackbacks

News

Archives

Post Categories

.Net Development

March 2006 Entries

Last post I promised that I would post the final code that I was working on, in regards to Generics and DynamicMethods. The basic idea of the code is a class that generates DynamicMethod delegates that have been casted as a certain type of delegate, using Generics. Here's what I was thinking the calling code would look like TestDelegate del = generator.SomeMethod<Tes... Surprisingly, this was a lot hard than it first seems. It seems that there are some restrictions with Generics and...

test Recently I had one of those aggrivating, head pounding, pick up the monitor and throw it through the window, wall, co-worker, whatever is closest. The issue involved using DynamicMethods, CreateDelegate method, and binding the DynamicMethod to an object. I was working on an experiment with DynamicMethods and Generics (thats for another post), when I encountered the problem. Thinking it was some issue to do with the Generics (which there are a lot), I worked on a test code that had nothing to...