dchaib / Caliburn.Micro.ReactiveUI

Caliburn.Micro screens and conductors rewritten to inherit from ReactiveUI ReactiveObject

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Merge EventAggregator and MessageBus

distantcam opened this issue · comments

It would be really cool if these two items were merged. Currently if you fire an event on one the other doesn't know about it, and vice versa.

It sounds like it could be interesting, yes. I'll have a look at it.

I have been looking into this, but I have some doubts. While I do understand the general idea, I'm not sure I see the real benefit here. Wouldn't you better off chosing one or the other? Do you have an example where you would actually "need" both? Or is it just to be able to make the transition from one to the other or use code that cannot be changed?

Yes you would be better off choosing one, and you don't need it.

I was thinking mainly for legacy projects where you've started with one, and want to swap to the other. Currently I have an existing Caliburn.Micro project with ReactiveUI being the new thing. Lots of old style IHandles mixed in with new MessageBus.

Ultimately this would be cool to have, so you won't have a problem if you mix the two. But if it's hard it doesn't have to be a high priority.

@distantcam Is it still something you would find useful?

Useful, yes. But I'm not sure how useful. In the end I tended to just pick one or the other.