public CustomerOrdersViewModel(
     ICustomerServiceAgent customerServiceAgent,
     IOrderServiceAgent orderServiceAgent)
 {
     SelectedCustomerIndex = -1;
     _customerServiceAgent = customerServiceAgent;
     _orderServiceAgent    = orderServiceAgent;
 }
예제 #2
0
 // Ctor that accepts ICustomerServiceAgent
 public CustomerViewModel(ICustomerServiceAgent serviceAgent)
 {
     this.serviceAgent = serviceAgent;
 }
 public CustomerWcfService(ICustomerServiceAgent serviceAgent)
 {
     this.serviceAgent = serviceAgent;
 }