Esempio n. 1
0
 internal static TaskResult ForEachRow(Task task, TaskResult result)
 {
     foreach (DataRow value in ((DataTable)Get(task, 0, result)).Rows)
     {
         result.Add(task.Name, value);
         ExecuteAllChild(task, result);
         result.Values.Remove(task.Name);
     }
     return result;
 }
Esempio n. 2
0
        internal static TaskResult Next(Task task, object value, TaskResult result)
        {
            result.Add(task.Name, value);

            if (Util.Exit) return result;

            ExecuteAllChild(task, result);
            return result;
        }
Esempio n. 3
0
 internal static TaskResult ForEach(Task task, TaskResult result)
 {
     foreach (var value in ((List<object>)Get(task, 0, result)))
     {
         result.Add(task.Name, value);
         ExecuteAllChild(task, result);
         result.Values.Remove(task.Name);
     }
     return result;
 }