Пример #1
0
        public TDStep PeekStep()
        {
            TDStep step = null;

            if (steps != null && steps.Count > 0)
            {
                step = steps[0];
            }

            return(step);
        }
Пример #2
0
        public TDStep PopStep()
        {
            TDStep step = null;

            if (steps != null && steps.Count > 0)
            {
                step = steps[0];
                steps.Remove(step);
            }

            return(step);
        }