public HomePresenter(IHomeView view, IForumsController controller, ITemplateFileManager templateFileManager, IModuleInstanceContext moduleContextWrapper, IDnnUserController dnnUserController) : base(view) { this.controller = controller; this.templateFileManager = templateFileManager; moduleContextWrapper.ModuleContext = this.ModuleContext; this.moduleContextWrapper = moduleContextWrapper; this.dnnUserController = dnnUserController; this.View.Load += ViewLoad; }
public ControlPanelPresenter(IControlPanelView view, IForumsController controller) : base(view) { if (view == null) { throw new ArgumentException(@"View is nothing.", "view"); } if (controller == null) { throw new ArgumentException(@"Controller is nothing.", "controller"); } }
public DispatchPresenter(IDispatchView view, IForumsController controller) : base(view) { if (view == null) { throw new ArgumentException(@"View is nothing.", "view"); } if (controller == null) { throw new ArgumentException(@"Controller is nothing.", "controller"); } Controller = controller; }
public CPanelPresenter(ICPanelView view, IForumsController controller) : base(view) { if (view == null) { throw new ArgumentException(@"View is nothing.", "view"); } if (controller == null) { throw new ArgumentException(@"Controller is nothing.", "controller"); } this.Controller = controller; this.View.Load += ViewLoad; }
public TopicEditorPresenter(ITopicEditorView view, IForumsController controller) : base(view) { if (view == null) { throw new ArgumentException(@"View is nothing.", "view"); } if (controller == null) { throw new ArgumentException(@"Controller is nothing.", "controller"); } Controller = controller; this.View.Load += ViewLoad; View.Submit += Submit; }
public ForumsServicePresenter(IForumsServiceView view, IForumsController controller) : base(view) { forumController = controller; View.ListForumsCalled += GetForumsCalled; View.ForumGetCalled += GetForumCalled; }
public ForumViewModelBuilder(IForumsController controller, IDnnUserController userController) { this.controller = controller; this.userController = userController; }
public ForumViewModelBuilder(IForumsController controller, IDnnUserController userController) { this.controller = controller; this.userController = userController; }