示例#1
0
        public CustomerForm(IMessageService _messageService,
                            ICustomerPresenter _customerPresenter)
        {
            InitializeComponent();

            this._messageService    = _messageService;
            this._customerPresenter = _customerPresenter;

            Text = this._messageService.Title;
        }
示例#2
0
 private void Awake()
 {
     _customerBurger    = GetComponent <IBurgerViewable>();
     _creator           = GetComponent <CustomerRequestCreator>();
     _presenterAnimator = new CustomerPresenter();
 }
示例#3
0
        public CustomerView(ICustomerBOService service)
        {
            InitializeComponent();

            _presenter = new CustomerPresenter(this, service);
        }