public bool Validate(string banknote) { return(handler.Validate(banknote)); }
public bool Validate(Banknote banknote) { return(_handler.Validate(banknote)); }
public virtual bool Validate(string banknote) { return(_nextHandler != null && _nextHandler.Validate(banknote)); }
public bool Validate(IBanknote banknote) => _handler.Validate(banknote);