/// <summary> /// Initializes a new instance of the <see cref="LocationRelationship" /> class from the specified instance. /// </summary> /// <param name="other"> /// The instance from which the new instance is to be initialized. /// </param> /// <exception cref="ArgumentNullException"> /// Thrown if <paramref name="other" /> is null. /// </exception> public LocationRelationship(LocationRelationship other) { if (other == null) { throw new ArgumentNullException(nameof(other)); } Init(other.Target, other.Kinds, other.Description, other.Properties); }
public override LocationRelationship VisitLocationRelationship(LocationRelationship node) { node.Kinds[0] = "includes"; return(base.VisitLocationRelationship(node)); }
public bool ValueEquals(LocationRelationship other) => ValueComparer.Equals(this, other);