示例#1
0
        public void InitMVP()
        {
            view          = new MockSearchOrders();
            ordersService = new MockOrdersService();

            orderInfoConverter = new OrdersConverter(new MockCustomerService(), new MockEmployeeService(), new MockGenericConverter <Employee, EmployeeDisplay>());

            presenter      = new SearchOrdersPresenter(ordersService, orderInfoConverter);
            presenter.View = view;
        }
        public void InitMVP()
        {
            view = new MockSearchOrders();
            ordersService = new MockOrdersService();

            orderInfoConverter = new OrdersConverter(new MockCustomerService(), new MockEmployeeService(), new MockGenericConverter<Employee, EmployeeDisplay>());

            presenter = new SearchOrdersPresenter(ordersService, orderInfoConverter);
            presenter.View = view;
        }