public void AddNext(StringChecker stringChecker)
 {
     last.SetNext(stringChecker);
     last = stringChecker;
 }
Esempio n. 2
0
 public void SetNext(StringChecker next)
 {
     this.next = next;
 }
 public PasswordValidator(StringDigitChecker stringDigitChecker)
 {
     this.first = stringDigitChecker;
     this.last  = stringDigitChecker;
     this.first.SetNext(null);
 }