CM's EventAggregator and Reactive Extensions

Sep 30, 2011 at 1:04 AM

Is anyone using CM's EventAggregator with Rx?  What would be the best way of treating the messages from the EventAggregator as a stream, composing them, and so forth?



Oct 3, 2011 at 1:03 AM

I never did such an integration. I guess that you could just write a simple adapter implementing IObservable<> and delegating internally to EventAggregator.
Perhaps you may want to have a look at this sample: