Пример #1
0
 public LoopInfo(Looptype t, string anExpression, StringCollection source)
 {
     type       = t;
     todolist   = null;
     iterator   = null;
     expression = anExpression;
     loopsource = source;
 }
Пример #2
0
 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;
 }