Jul 24, 2009 at 10:41 PM
Edited Jul 24, 2009 at 10:43 PM
I agree that event agregator is the way to go for me. But I create a "MenuButtonClicked" event in the module, and it's not fired . May be is not the good place?
In the shell I have the
menuButtonClicked.Publish(MenuName); correctly fired.
In the XXXModule the code is:
In the Initialize() function I put
menuButtonClicked = eventAgregator.GetEvent<MenuButtonClicked>();
who is correctly executed in the module initializer. But the event is never fired.
if (MenuName ==
I'm using a lot EventAgregator without problems. There is something special in the Module itself?
Thanks in advance,