예제 #1
0
 public bool Validate(string banknote)
 {
     return(handler.Validate(banknote));
 }
예제 #2
0
 public bool Validate(Banknote banknote)
 {
     return(_handler.Validate(banknote));
 }
예제 #3
0
 public virtual bool Validate(string banknote)
 {
     return(_nextHandler != null && _nextHandler.Validate(banknote));
 }
예제 #4
0
 public bool Validate(IBanknote banknote) => _handler.Validate(banknote);