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