Exemplo n.º 1
0
        public CustomerPresenter(IListCustomersView ListCustomersViewObject, CustomerModel CustomerModelObject)
        {
            if (ListCustomersViewObject == null)
            {
                throw new ArgumentNullException("ListCustomersViewObject may not be null");
            }
            if (CustomerModelObject == null)
            {
                throw new ArgumentNullException("CustomerModelObject may not be null");
            }

            this.ListCustomersViewObject = ListCustomersViewObject;
            this.CustomerModelObject     = CustomerModelObject;
        }
Exemplo n.º 2
0
 public ListCustomersPresenter(IListCustomersView view)
 {
     Check.Require(view != null, "view may not be null");
     this.view = view;
 }
Exemplo n.º 3
0
 public ListCustomersPresenter(IListCustomersView view)
 {
     Check.Require(view != null, "view may not be null");
     this.view = view;
 }