Beispiel #1
0
 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);
 }
Beispiel #2
0
		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;
		}