private void EnterVisitable(RelationshipDetails details)
        {
            RelationshipDirection direction = details.Direction;

            _writer.Write(direction.LeftSymbol);
            if (details.HasContent())
            {
                _writer.Write("[");
            }
        }
        private void LeaveVisitable(RelationshipDetails details)
        {
            RelationshipDirection direction = details.Direction;

            if (details.HasContent())
            {
                _writer.Write("]");
            }

            _writer.Write(direction.RightSymbol);
        }
Esempio n. 3
0
 private Relationship(Node left, RelationshipDetails details, Node right)
 {
     Left    = left;
     Right   = right;
     Details = details;
 }