Exemplo n.º 1
0
        public IEnumerable <IBanknote> CashOut(ref string value)
        {
            var banknotes = CashOutAsMuchAsPossible(ref value);

            return(_nextHandler == null ? banknotes : banknotes.Concat(_nextHandler.CashOut(ref value)));
        }