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