// + Save-restore methods
 public void SaveState()
 {
     VendingMachineStateHandler.Save <CashManager>(_fileName, this);
 }
 // + Save-restore methods
 public void SaveState()
 {
     VendingMachineStateHandler.Save <VendingLogic>(_fileName, this);
 }