/// <summary> /// Visits a single <see cref="CompareOrphanCollection"/> and produces a value of type <typeparamref name="TResult"/>. /// </summary> /// <param name="orphan">The orphan to visit.</param> /// <returns>The result of visitng the orphan.</returns> protected internal override TResult VisitCollection(CompareOrphanCollection orphan) => DefaultVisit(orphan);
/// <summary> /// Initializes a new instance of the <see cref="CompareNodeCollection"/> class with the orphan this node encapsulates and the parent of this node. /// </summary> /// <param name="orphan">The orphan this node encapsulates.</param> /// <param name="parent">The parent of this node.</param> internal CompareNodeCollection(CompareOrphanCollection orphan, CompareNode parent) : base(orphan, parent) { }