Domanda

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?

È stato utile?

Soluzione

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.

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top