private ProgressNode FindNodeById(long sourceId, int activityId, out ArrayList listWhereFound, out int indexWhereFound) { listWhereFound = null; indexWhereFound = -1; PendingProgress.FindByIdNodeVisitor findByIdNodeVisitor = new PendingProgress.FindByIdNodeVisitor(sourceId, activityId); PendingProgress.NodeVisitor.VisitNodes(this.topLevelNodes, findByIdNodeVisitor); listWhereFound = findByIdNodeVisitor.ListWhereFound; indexWhereFound = findByIdNodeVisitor.IndexWhereFound; return(findByIdNodeVisitor.FoundNode); }
private ProgressNode FindNodeById(long sourceId, int activityId, out ArrayList listWhereFound, out int indexWhereFound) { listWhereFound = null; indexWhereFound = -1; PendingProgress.FindByIdNodeVisitor findByIdNodeVisitor = new PendingProgress.FindByIdNodeVisitor(sourceId, activityId); PendingProgress.NodeVisitor.VisitNodes(this.topLevelNodes, findByIdNodeVisitor); listWhereFound = findByIdNodeVisitor.ListWhereFound; indexWhereFound = findByIdNodeVisitor.IndexWhereFound; return findByIdNodeVisitor.FoundNode; }