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; }
public ListCustomersPresenter(IListCustomersView view) { Check.Require(view != null, "view may not be null"); this.view = view; }