예제 #1
0
 public VendingMachine()
 {
     this.stock          = new StockSystem();
     this.Change         = new List <Money>();
     this.DroppedInMoney = new List <Money>();
 }
예제 #2
0
 public PurchaseSystem(StockSystem stock, List <Money> droppedInMoney)
 {
     this.stock          = stock;
     this.droppedInMoney = droppedInMoney;
 }
예제 #3
0
 public PurchaseSystem(StockSystem stock, List<Money> droppedInMoney)
 {
     this.stock = stock;
     this.droppedInMoney = droppedInMoney;
 }
예제 #4
0
 public VendingMachine()
 {
     this.stock = new StockSystem();
     this.Change = new List<Money>();
     this.DroppedInMoney = new List<Money>();
 }