I’m building a little complex prism application. Customer requirements obliges me to utilize ModuleA features in ModuleB.
My question is whether it is breaking prism’s decoupling purpose when I reference ModuleA namespace in ModuleB and navigate to its views. If yes then how can I resolve this ?
You need to use the
IEventAggregatorand publish/subscribe to weak events (CompositePresentationEvent<TPayload>) through it.Here is a sample.
Here is the relevant msdn link.