/// <summary> /// Initializes a new instance of the <see cref="FileChangeVersionOne" /> 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 FileChangeVersionOne(FileChangeVersionOne other) { if (other == null) { throw new ArgumentNullException(nameof(other)); } Init(other.Uri, other.UriBaseId, other.Replacements); }
public virtual FileChangeVersionOne VisitFileChangeVersionOne(FileChangeVersionOne node) { if (node != null) { if (node.Replacements != null) { for (int index_0 = 0; index_0 < node.Replacements.Count; ++index_0) { node.Replacements[index_0] = VisitNullChecked(node.Replacements[index_0]); } } } return(node); }
public bool ValueEquals(FileChangeVersionOne other) => ValueComparer.Equals(this, other);