private ProgressNode FindOldestLeafmostNodeHelper(ArrayList treeToSearch, out ArrayList listWhereFound, out int indexWhereFound) { listWhereFound = null; indexWhereFound = -1; PendingProgress.FindOldestNodeVisitor findOldestNodeVisitor = new PendingProgress.FindOldestNodeVisitor(); PendingProgress.NodeVisitor.VisitNodes(treeToSearch, findOldestNodeVisitor); listWhereFound = findOldestNodeVisitor.ListWhereFound; indexWhereFound = findOldestNodeVisitor.IndexWhereFound; return(findOldestNodeVisitor.FoundNode); }
private ProgressNode FindOldestLeafmostNodeHelper(ArrayList treeToSearch, out ArrayList listWhereFound, out int indexWhereFound) { listWhereFound = null; indexWhereFound = -1; PendingProgress.FindOldestNodeVisitor findOldestNodeVisitor = new PendingProgress.FindOldestNodeVisitor(); PendingProgress.NodeVisitor.VisitNodes(treeToSearch, findOldestNodeVisitor); listWhereFound = findOldestNodeVisitor.ListWhereFound; indexWhereFound = findOldestNodeVisitor.IndexWhereFound; return findOldestNodeVisitor.FoundNode; }