Search
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
Updating...
© 2006-2012 Microsoft | Get Help | Privacy Statement | Terms of Use | Code of Conduct | Advertise With Us | Version 2012.1.11.18365