EventAggregator unwanted call handle method

Topics: Actions & Coroutines, Bugs
Apr 27, 2012 at 11:21 PM
Edited Apr 27, 2012 at 11:22 PM

Hello, 

I don't have enough experiences to work with Caliburn micro so my problem may be  is not problem.
I don't know why but from some time new Pushing of specific events doesn't raise needed Handle methods. All works great for my old pushing events functionality but when I have tried to push the same events in another part of code Handle method unwanted to call for this push.
I have used Caluburn micro v1.3.1, WP7.1 and have done this
navigationService.UriFor<SomeViewModel>().Navigate();
eventAggregator.Publish(new SomeEvent(parameter));
So, it works good for my old code but when I try do the same in new place of code Handle method is not calling.
I debug and found that after instance of new page was created Publish form EventAggregator class doesn't call again how it worked before.
I have used DefaultPublicationThreadMarshaller.

Could you please help me, it's very important for me.

Thanks!

May 2, 2012 at 2:01 PM

Are you subscribing in the class that has the IHandle<T> interface?

 

eventaggregator.subscribe(this);