Given the benefits of composable events as offered by the Reactive Extensions (Rx) framework, I\'m wondering whether my classes should stop pushing .NET events, and instead
Apart from the fact that your existing eventing code could be terser:
public event EventHandler ProgressChanged = delegate {};
...
set {
...
// no need for null check anymore
ProgressChanged(this, new EventArgs());
}
I think by switching to Observable you are just moving complexity from the callee to the caller. What if I just want to read the int?
-Oisin