Project Description
Sample demonstrating the use of DynamicMethod and Reflection.Emit to dynamically subscribe to an objects events. Useful for unit testing or aggregating a complex series of events into a single event stream.

See my blog post here for more info.

Download the sample here: EventRecorder

For an example of how to do the same thing without using Reflection.Emit, see this CodeProject article:
http://www.codeproject.com/KB/cs/eventtracingviareflection.aspx
Last edited Aug 9 2008 at 1:54 AM by PlasticLIzard, version 8
Comments
No comments yet.

Updating...
© 2006-2009 Microsoft | About CodePlex | Privacy Statement | Terms of Use | Code of Conduct | CodePlex Blog | Version 2008.12.9.14291