Last post Jan 07, 2011 04:30 AM by naveenrtr
Jan 07, 2011 04:30 AM|naveenrtr|LINK
My application uses Unity Container.
I am dynamically resolving all the view models and factories (MVVM pattern)
Now, we are wiring up events with these registered view models and models of the container.
Without disposing the container, we are trying to resolve the view models and factories again to reset the application.
In this context, we are registering those view models and factories again but, all the events wired up before still exist. In effect to this, all my handlers are called twice since these events are wired up twice since we register it twice without disposing
Any help would be really appreciated.