public LoopInfo(Looptype t, string anExpression, StringCollection source) { type = t; todolist = null; iterator = null; expression = anExpression; loopsource = source; }
public LoopInfo(Looptype t, XmlNodeList tlist, string orderby, StringCollection source) { type = t; todolist = tlist; if (todolist == null) { iterator = null; } else { iterator = new LoopIterator(tlist, orderby); } loopsource = source; }