internal static Node[] CloneNodeArray(Node[] source) { Node[] nodeArray = new Node[source.Length]; for (int i = 0; i < source.Length; i++) { nodeArray[i] = source[i].Clone(); } return nodeArray; }
internal Node(string name, bool hasInnerText, NodeCardinality cardinality, Node[] possibleChildren) { this.isHidden = null; this.name = name; this.hasInnerText = hasInnerText; this.cardinality = cardinality; this.possibleChildren = possibleChildren; this.actualNodes = new Collection<Node>(); }
internal Node(string name, bool hasInnerText, NodeCardinality cardinality, Node[] possibleChildren, bool? supportsIsHidden) : this(name, hasInnerText, cardinality, possibleChildren) { this.isHidden = supportsIsHidden; }