public void Then(ThenFunction then)
 {
     this.thenFunction = then;
 }
 public void Then(ThenFunction then)
 {
     this.thenFunction = then;
 }