Beispiel #1
0
        public ThreadController(IUowData data, IPagerViewModelFactory pagerModelFactory, IViewModelFactory viewModelFactory)
            : base(data, pagerModelFactory)
        {
            if (viewModelFactory == null)
            {
                throw new ArgumentNullException(WebConstants.IViewModelFactoryNullMessage, "viewModelFactory");
            }

            this.viewModelFactory = viewModelFactory;
        }
Beispiel #2
0
        public BaseController(IUowData data, IPagerViewModelFactory pagerModelFactory)
        {
            if (data == null)
            {
                throw new ArgumentNullException(WebConstants.IUowDataNullMessage, "data");
            }

            if (pagerModelFactory == null)
            {
                throw new ArgumentNullException(WebConstants.IPagerViewModelFactoryNullMessage, "pagerModelFactory");
            }

            this.data = data;
            this.pagerModelFactory = pagerModelFactory;
        }
Beispiel #3
0
 public HomeController(IUowData data, IPagerViewModelFactory pagerModelFactory)
     : base(data, pagerModelFactory)
 {
 }