Exemple #1
0
 public void AddChecker(StringChecker checker)
 {
     lastChecker.SetNext(checker);
     this.lastChecker = checker;
 }
Exemple #2
0
 public PasswordValidator(StringChecker checker)
 {
     this.firstChecker = checker;
     this.lastChecker  = firstChecker;
 }
Exemple #3
0
 public void AddLink(StringChecker link)
 {
     lastLink.SetNext(link);
     lastLink = link;
 }
Exemple #4
0
 public void SetNext(StringChecker next)
 {
     this.next = next;
 }
Exemple #5
0
 public PasswordValidator(StringChecker first)
 {
     this.firstLink = first;
     this.lastLink  = first;
 }