/// <summary> /// /// </summary> /// <param name="controller"></param> public HeaderNav(IDnnqaController controller) { if (controller == null) { throw new ArgumentException(@"Controller is nothing.", "controller"); } Controller = controller; }
/// <summary> /// /// </summary> /// <param name="objScheduleHistoryItem"></param> /// <param name="controller"></param> public Emailer(DotNetNuke.Services.Scheduling.ScheduleHistoryItem objScheduleHistoryItem, IDnnqaController controller) { if (controller == null) { throw new ArgumentException(@"Controller is nothing.", "controller"); } Controller = controller; ScheduleHistoryItem = objScheduleHistoryItem; }
/// <summary> /// /// </summary> /// <param name="view"></param> /// <param name="controller"></param> public AskQuestionPresenter(IAskQuestionView view, IDnnqaController 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; View.Load += ViewLoad; }
/// <summary> /// /// </summary> /// <param name="view"></param> /// <param name="controller"></param> public DispatchPresenter(IDispatchView view, IDnnqaController 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; }
/// <summary> /// /// </summary> /// <param name="view"></param> /// <param name="controller"></param> public PrivilegeManagerPresenter(IPrivilegeManagerView view, IDnnqaController 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; View.Load += ViewLoad; }
public QaServicePresenter(IQaServiceView view, IDnnqaController 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; View.ListQuestionTitleCalled += SearchQuestionTitle; }