메소드 | 설명 | |
---|---|---|
AddStock ( Money money ) : void | ||
CanReturnJustMoneyIfUsed ( int amount ) : bool | ||
Insert ( Money money ) : void | ||
MoneyStocker ( ) : System.Collections.Generic | ||
MoneyStocker ( IMoneyAcceptor acceptor ) : System.Collections.Generic | ||
PayBack ( ) : IEnumerable |
||
TakeMoney ( int usedAmount ) : void |
메소드 | 설명 | |
---|---|---|
EnumurateMoneyUpTo ( int amount ) : IEnumerable |
public CanReturnJustMoneyIfUsed ( int amount ) : bool | ||
amount | int | |
리턴 | bool |
public MoneyStocker ( ) : System.Collections.Generic | ||
리턴 | System.Collections.Generic |
public MoneyStocker ( IMoneyAcceptor acceptor ) : System.Collections.Generic | ||
acceptor | IMoneyAcceptor | |
리턴 | System.Collections.Generic |