示例#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>();
 }