Call multiple events sequentially

Topics: Prism v2 - WPF 3.5
Aug 12, 2009 at 4:58 AM

Hi guys,

I need ideas on how to implement my requirement.

Basically, I need to publish/call an event after I publish/call another event.  The reason I ask is because the modules on my application are loaded at runtime and just when they are needed.  So, when the module is not yet loaded, it will first call the loadmodule event.  Then it will call the actual event (i.e. sort data) which is handled by the loaded module, etc.

If I call



the second one is not executed.  But then the module is already loaded, it works fine.

Do you have any ideas on how I can implement this?  Or point me to the right direction.

Many thanks.

Kindest regards,

Aug 12, 2009 at 5:51 PM

Hi James,

If I understand correctly, the second event is not doing anything because the module is not yet loaded. If that is the case, you might find some useful information in this blog post by Ade Miller, p&p Dev Lead:

Please let me know if this helps.

Damian Schenkelman

Aug 13, 2009 at 12:09 AM



Yes, this was what I was looking for.  It's now working fine.

Many thanks. 


Kindest regards.