Esempio n. 1
0
 public void AddStep(object fromFunction, object toFunction)
 {
     if (currentStep == null)
     {
         currentStep = new XzaarCallStackStep(fromFunction, toFunction);
     }
     else
     {
         currentStep = currentStep.NextStep(fromFunction, toFunction);
     }
 }
Esempio n. 2
0
 public XzaarCallStackStep NextStep(object f, object t)
 {
     nextStep = new XzaarCallStackStep(this, f, t);
     return(nextStep);
 }
Esempio n. 3
0
 private XzaarCallStackStep(XzaarCallStackStep prev, object from, object to)
 {
     this.previousStep = prev;
     this.@from        = @from;
     this.to           = to;
 }
Esempio n. 4
0
 public void ClearSteps()
 {
     currentStep = null;
 }