/// <summary> /// Initializes a new instance of the <see cref="LocationVersionOne" /> 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 LocationVersionOne(LocationVersionOne other) { if (other == null) { throw new ArgumentNullException(nameof(other)); } Init(other.AnalysisTarget, other.ResultFile, other.FullyQualifiedLogicalName, other.LogicalLocationKey, other.DecoratedName, other.Properties); }
public virtual LocationVersionOne VisitLocationVersionOne(LocationVersionOne node) { if (node != null) { node.AnalysisTarget = VisitNullChecked(node.AnalysisTarget); node.ResultFile = VisitNullChecked(node.ResultFile); } return(node); }
public bool ValueEquals(LocationVersionOne other) => ValueComparer.Equals(this, other);