Пример #1
0
 public NewsController(IRegionManager regionManager, IArticlePresentationModel articlePresentationModel, IEventAggregator eventAggregator)
 {
     this.regionManager = regionManager;
     this.articlePresentationModel = articlePresentationModel;
     this.eventAggregator = eventAggregator;
     this.articlePresentationModel.Controller = this;
 }
Пример #2
0
 public NewsController(IRegionManager regionManager, IArticlePresentationModel articlePresentationModel, IEventAggregator eventAggregator)
 {
     this.regionManager                       = regionManager;
     this.articlePresentationModel            = articlePresentationModel;
     this.eventAggregator                     = eventAggregator;
     this.articlePresentationModel.Controller = this;
 }
Пример #3
0
 public NewsController(IRegionManager regionManager,
                         IArticlePresentationModel articlePresentationModel,
                         IEventAggregator eventAggregator,
                         INewsReaderPresenter readerPresenter) :
     this(regionManager, articlePresentationModel, eventAggregator)
 {
     this.readerPresenter = readerPresenter;
 }
Пример #4
0
 public NewsController(IRegionManager regionManager,
                       IArticlePresentationModel articlePresentationModel,
                       IEventAggregator eventAggregator,
                       INewsReaderPresenter readerPresenter) :
     this(regionManager, articlePresentationModel, eventAggregator)
 {
     this.readerPresenter = readerPresenter;
 }
Пример #5
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);
        }