Question

For a PRISM Project with many similar Shells we need to fire the Same Event via the EventAggregator. I don't want to filter the Events once they are already subscribed.

Is it possible in PRISM to create a local or scoped EventAggregator once per Module/Shell?

Was it helpful?

Solution

I don't think that's possible right off the bat. The only solution I can think of is to register your EventAggregator in a child UnityContainer when you create your regions.

Another solution is to create specifiek event classes for every module.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top