Méthode | Description | |
---|---|---|
AddDrink ( IEnumerable |
||
AddStock ( IEnumerable |
||
AddStock ( IEnumerable |
||
BuyDrink ( string drinkName ) : Drink | ||
CanBuy ( string drinkName ) : bool | ||
InsertMoney ( Money money ) : void | ||
PayBack ( ) : IEnumerable |
||
SetDrinkSpecification ( IEnumerable |
||
VendingMachine ( ) : System.Collections.Generic | ||
VendingMachine ( IMoneyAcceptor acceptor ) : System.Collections.Generic |
Méthode | Description | |
---|---|---|
CanBuyDrinkNamed ( string drinkName ) : bool |
public AddDrink ( IEnumerable |
||
drink | IEnumerable |
|
Résultat | void |
public AddStock ( IEnumerable |
||
moneys | IEnumerable |
|
Résultat | void |
public AddStock ( IEnumerable |
||
setMoneyInfos | IEnumerable |
|
Résultat | void |
public BuyDrink ( string drinkName ) : Drink | ||
drinkName | string | |
Résultat | Drink |
public SetDrinkSpecification ( IEnumerable |
||
specs | IEnumerable |
|
Résultat | void |
public VendingMachine ( ) : System.Collections.Generic | ||
Résultat | System.Collections.Generic |
public VendingMachine ( IMoneyAcceptor acceptor ) : System.Collections.Generic | ||
acceptor | IMoneyAcceptor | |
Résultat | System.Collections.Generic |