public NewsController(IRegionManager regionManager, IArticlePresentationModel articlePresentationModel, IEventAggregator eventAggregator) { this.regionManager = regionManager; this.articlePresentationModel = articlePresentationModel; this.eventAggregator = eventAggregator; this.articlePresentationModel.Controller = this; }
public NewsController(IRegionManager regionManager, IArticlePresentationModel articlePresentationModel, IEventAggregator eventAggregator, INewsReaderPresenter readerPresenter) : this(regionManager, articlePresentationModel, eventAggregator) { this.readerPresenter = readerPresenter; }
public NewsController(IRegionManager regionManager, IArticlePresentationModel articlePresentationModel, IEventAggregator eventAggregator, INewsReaderPresenter newsReaderPresenter) { this.regionManager = regionManager; this.articlePresentationModel = articlePresentationModel; this.eventAggregator = eventAggregator; this.articlePresentationModel.Controller = this; this.readerPresenter = newsReaderPresenter; this.shellRegion = this.regionManager.Regions[RegionNames.SecondaryRegion]; this.shellRegion.Add(this.readerPresenter.View); }