Пример #1
0
 public bool Validate(IBanknote banknote)
 {
     return(_handler.Validate(banknote));
 }
Пример #2
0
 public virtual bool NextHandlerValidate(IBanknote banknote)
 {
     return(_nextHandler != null && _nextHandler.Validate(banknote));
 }