Ejemplo n.º 1
0
 /// <summary>
 /// Identify the relationship between two nodes.
 /// </summary>
 /// <param name="other">Node to compare against.</param>
 /// <returns>Relationship between this node and the other.</returns>
 public RelationshipType Relationship(Node other)
 => Clause.Relationship(other.Clause, Tree.Comparers);
Ejemplo n.º 2
0
 /// <summary>
 /// Returns a string that represents the current object.
 /// </summary>
 /// <param name="builder">A StringBuilder object.</param>
 /// <param name="indent">An integer representing the number of spaces at the start of a line.</param>
 public void ToString(StringBuilder builder, int indent = 0)
 => Clause.ToString(builder, indent);