public TDStep PeekStep() { TDStep step = null; if (steps != null && steps.Count > 0) { step = steps[0]; } return(step); }
public TDStep PopStep() { TDStep step = null; if (steps != null && steps.Count > 0) { step = steps[0]; steps.Remove(step); } return(step); }