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; }
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; }
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; }