Exemplo n.º 1
0
 public VendingMachine(ICoinHandler coinHandler, IProductRepository productRepository)
 {
     this.coinHandler       = coinHandler;
     this.productRepository = productRepository;
     initialize();
 }
 public VendingMachineManager(ICoinHandler coinHandler, IProductHandler productHandler)
 {
     _coinHandler    = coinHandler;
     _productHandler = productHandler;
 }