Rhino Mocks EventsTwisting the Syntax
Okay, so Aaron Jensen has suggest an alternative syntax to this (which I don't like, since it has strings):
It is this:
Basically, it is reversing the syntax a bit, since it is actually the "register to event" syntax, but we can use that to raise events in a fairly natural way, without resorting to strings.
I am not sure if the sytnax is clear enough, so I wanted to ask, what would you rather have?
More posts in "Rhino Mocks Events" series:
- (09 Jun 2007) Twisting the Syntax
- (08 Jun 2007) Purity vs. Practicality

Comments
Comment preview