public ArticleOverviewPresenter(IArticlesView view, Domain.Module module, IArticleService articleService) { this.view = view; this.articleService = articleService; this.module = module; this.parameter = ParameterBuilder.Deserialize <ArticlesOverviewParameter>(module.Parameter); }
public ArticlesPresenter(IArticlesView view, IArticlesListPresenter listPresenter, IUnityContainer container, IRegionManager regionManager) { try { this.container = container; this.regionManager = regionManager; View = view; this.listPresenter = listPresenter; this.listPresenter.ArticleSelected += OnArticleSelected; this.listPresenter.ArticleOpened += OnArticleOpened; View.SetHeader(listPresenter.View); } catch (Exception ex) { P2ExceptionHandler.LogException(ex, string.Format("{0}.{1}", GetType().Name, MethodBase.GetCurrentMethod().Name)); } }
public ArticlesPresenter(IArticlesView articlesView) { this.articlesView = articlesView; }