May 28, 2010 at 6:15 AM
Edited May 28, 2010 at 9:08 AM
If we load a view from a module, then if we need to unloaded the view it would be a good practice to do it from that module only.
What would be the best approach to achieve this?
MenuItemViewPresenter presenter = this.container.Resolve<MenuItemViewPresenter>();
IRegion mainRegion = this.regionManager.Regions[Infrastructure.RegionNames.ManuRegion];
//OnClick is a event handler which keeps a watch on the view event.
OnClick(object sender, RoutedEventArgs e)
My question: is it a good practice for a the model to keep a watch on its view event ?