DocumentIO.ObjectNodeMatcher

NodeMatcher
Class for matching object nodes in a *.ghz archive. Objects may be stored in a different order in two files while being fundamentally the same object. This is particularly common when a Group is added, as groups are stored at the start of the object list, thus bumping all other objects up to a higher index. When comparing two files for differences, it is recommended to provide an instance of this NodeMatcher to the diff method.

Methods

Find

#
public override bool Find(Node baseNode, IReadOnlyList<Node> potentialMatches, out int matchingIndex)
baseNode (Node)
potentialMatches (IReadOnlyList<Node>)
matchingIndex (out int)
NodeMatcher.Find