How to pass communication/event from one MEF to another RRS feed

  • Question

  • Hi,

    I'm developing application in WPF,MEF & MVVM and these are completely new to me. My scenario is

    We have one WPF Main Application where we are adding all sub projects ( usercontrols ) through MEF,

    WPF Main Application 1 ( with MEF Import )

                     -WPF Project 1 ( with MEF Export )
                     -WPF Project 2  (With MEF Export )

    "WPF project 2" has a usercontrol/window with some controls and OK button.
    Now if this OK button is clicked, i want to fire an eventhandler in WPF project 2 and capture this event ( give implementation for this event ) in "WPF project 1".

    How can we do this, any features available to implement. please guide me.

    Thanks - Ravi

    • Moved by Lisa Zhu Friday, March 29, 2013 8:06 AM MEF related
    Thursday, March 28, 2013 11:23 AM


All replies