Example #1
0
 public void AddLinkToChain(StringChecker newLink)
 {
     lastLink.SetNext(newLink);
     this.lastLink = newLink;
 }
Example #2
0
 public void SetNext(StringChecker next)
 {
     this.next = next;
 }
Example #3
0
 public PasswordValidator(StringChecker firstLink)
 {
     this.firstLink = firstLink;
     this.lastLink  = this.firstLink;
 }