Communicate through modules with Prism?

The following Prism documentation says that there are four ways to communicate through modules -

  • Command console
  • Region context
  • Shared Services
  • Event aggregation

    • Is it possible to choose one of these methods and apply it to all cross-modular messages? Or should I use different methods depending on the situation?
    • In particular, in the Im application that is currently written, I have a button in one module, and when the user clicks it, I want to start the stream in another module. What communication method would I use for this situation?
+5
source share
1 answer

Ans 1 : Yes, you can use a single approach around the world. In most cases, it will be easier to do so.

Ans 2. Event Aggregation . , . , , .

, /, , .

+7

All Articles