locked
How to communicate across modules with Prism? RRS feed

  • Question

  • From following the Prism documentation it says there are four ways to communicate across modules -

    • Solution commanding
    • Region context
    • Shared services
    • Event aggregation
    1.  Can I just chose one of these methods and apply it for all cross-module communcation? Or should I use different methods depending on the situation?
    2. In particular, in an application Im writing at the moment I have button in one module and when the user clicks it I want to start a thread in another module. Which method of communication would I use for this situation?
    Sunday, December 25, 2011 1:43 AM

Answers

  • Hi,

    i think in this case u shd go for Event aggregation...

    just make a common event, Publish it from the Button click event and subscribe wherever u need....


    Thanks,Rao BHavik
    • Marked as answer by Annabella Luo Thursday, January 5, 2012 9:07 AM
    Sunday, December 25, 2011 5:55 AM

All replies