Strongly Typed EventRaiser with Rhino.Mocks

I’ve been playing in my limited spare time with Rhino.Mocks, trying to come up with a way to simplify interactions with events, and creating strongly typed IEventRaiser (or something similar). Here’s what I’ve come up with so far:

Strongly typed Rhino.Mocks Event invocation 

It’s not an easy task, but I have few ideas. If you have any ideas or suggestions post them in the comments. I’ll submit it to Ayende, so if he likes it you may actually see this stuff in some future version of Rhino.Mocks.

Technorati Tags: