Exemplo n.º 1
0
 public NewsController(IRegionManager regionManager,
                         IArticlePresentationModel articlePresentationModel,
                         IEventAggregator eventAggregator,
                         INewsReaderPresenter readerPresenter) :
     this(regionManager, articlePresentationModel, eventAggregator)
 {
     this.readerPresenter = readerPresenter;
 }
Exemplo n.º 2
0
 public NewsController(IRegionManager regionManager,
                       IArticlePresentationModel articlePresentationModel,
                       IEventAggregator eventAggregator,
                       INewsReaderPresenter readerPresenter) :
     this(regionManager, articlePresentationModel, eventAggregator)
 {
     this.readerPresenter = readerPresenter;
 }
Exemplo n.º 3
0
        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);
        }
        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);
        }