Beispiel #1
0
        public void Initialize()
        {
            RegisterViewsAndServices();

            IWatchListPresentationModel watchListPresentationModel = _container.Resolve <IWatchListPresentationModel>();

            _regionManager.Regions[RegionNames.WatchRegion].Add(watchListPresentationModel.View);
            IAddWatchPresenter addWatchPresenter = _container.Resolve <IAddWatchPresenter>();

            _regionManager.Regions[RegionNames.MainToolbarRegion].Add(addWatchPresenter.View);
        }
Beispiel #2
0
 public WatchListController(IRegionManager regionManager, IWatchListPresentationModel watchListPresentationModel)
 {
     this.regionManager = regionManager;
     this.watchListPresentationModel = watchListPresentationModel;
 }
 public WatchListController(IRegionManager regionManager, IWatchListPresentationModel watchListPresentationModel)
 {
     this.regionManager = regionManager;
     this.watchListPresentationModel = watchListPresentationModel;
 }