Example #1
0
        /// <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="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;
        }
Example #4
0
        /// <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;
        }
Example #5
0
        /// <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;
        }
Example #6
0
        /// <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;
        }
Example #7
0
        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;
        }