//JAVA TO C# CONVERTER TODO TASK: Most Java annotations will not have direct .NET equivalent attributes: //ORIGINAL LINE: @Test public void traverseThroughNodeWithLoop() public virtual void TraverseThroughNodeWithLoop() { /* * (a)-->(b)-->(c)-->(d)-->(e) * / \ / \ * \__/ \__/ */ CreateGraph("a TO b", "b TO c", "c TO c", "c TO d", "d TO d", "d TO e"); using (Transaction tx = BeginTx()) { Node a = GetNodeWithName("a"); //JAVA TO C# CONVERTER WARNING: The original Java variable was marked 'final': //ORIGINAL LINE: final org.neo4j.graphdb.Node e = getNodeWithName("e"); Node e = GetNodeWithName("e"); Evaluator onlyEndNode = path => Evaluation.ofIncludes(path.endNode().Equals(e)); TraversalDescription basicTraverser = GraphDb.traversalDescription().evaluator(onlyEndNode); ExpectPaths(basicTraverser.Traverse(a), "a,b,c,d,e"); ExpectPaths(basicTraverser.Uniqueness(Uniqueness.RELATIONSHIP_PATH).traverse(a), "a,b,c,d,e", "a,b,c,c,d,e", "a,b,c,d,d,e", "a,b,c,c,d,d,e"); tx.Success(); } }
public PathEvaluator_AdapterAnonymousInnerClass9(Org.Neo4j.Graphdb.traversal.Evaluation evaluationIfMatch, Org.Neo4j.Graphdb.traversal.Evaluation evaluationIfNoMatch, ISet <Node> endNodes) { this._evaluationIfMatch = evaluationIfMatch; this._evaluationIfNoMatch = evaluationIfNoMatch; this._endNodes = endNodes; }
public PathEvaluator_AdapterAnonymousInnerClass8(Org.Neo4j.Graphdb.traversal.Evaluation evaluationIfMatch, Org.Neo4j.Graphdb.traversal.Evaluation evaluationIfNoMatch, Node target) { this._evaluationIfMatch = evaluationIfMatch; this._evaluationIfNoMatch = evaluationIfNoMatch; this._target = target; }
public PathEvaluator_AdapterAnonymousInnerClass7(Org.Neo4j.Graphdb.traversal.Evaluation evaluationIfMatch, Org.Neo4j.Graphdb.traversal.Evaluation evaluationIfNoMatch, ISet <string> expectedTypes) { this._evaluationIfMatch = evaluationIfMatch; this._evaluationIfNoMatch = evaluationIfNoMatch; this._expectedTypes = expectedTypes; }
public PathEvaluator_AdapterAnonymousInnerClass6(Org.Neo4j.Graphdb.traversal.Evaluation evaluationIfMatch, Org.Neo4j.Graphdb.traversal.Evaluation evaluationIfNoMatch, RelationshipType type) { this._evaluationIfMatch = evaluationIfMatch; this._evaluationIfNoMatch = evaluationIfNoMatch; this._type = type; }