internal XAccessor(XmlNode node) { node.ThrowIfNullArgument(nameof(node)); _node = node; _nsmgr = new XmlNamespaceManager(node.OwnerDocument.NameTable); }
internal XAccessor(XmlNode node, XmlNamespaceManager nsmgr) { nsmgr.ThrowIfNullArgument(nameof(nsmgr)); node.ThrowIfNullArgument(nameof(node)); _node = node; _nsmgr = nsmgr; }