Oct 25, 2010 at 6:31 PM
Edited Oct 25, 2010 at 8:53 PM
I am using a messenger.Send/Register between 2 ViewModels.
The MAINViewModel executing the .Send method is created first. The ViewModel2 which register to a certain type of data is
created after. That means MAINViewModel nevers sends data the first time/app starts to ViewModel2
How can I workaround this?
if my ViewModels would implement an Interface, I could inject those ViewModels to load at startup of the MainViewModel like this
public MainViewModel(IViewModel2 viewModel2)
but I do not want to hang an interface around every ViewModel, above all the interface would be empty LOL ;P