Beispiel #1
0
		/// <summary>
		/// Initializes a new instance of the <see cref="XrdsNode"/> class.
		/// </summary>
		/// <param name="node">The node represented by this instance.</param>
		/// <param name="parentNode">The parent node.</param>
		protected XrdsNode(XPathNavigator node, XrdsNode parentNode) {
			Requires.NotNull(node, "node");
			Requires.NotNull(parentNode, "parentNode");

			this.Node = node;
			this.ParentNode = parentNode;
			this.XmlNamespaceResolver = this.ParentNode.XmlNamespaceResolver;
		}
Beispiel #2
0
		/// <summary>
		/// Initializes a new instance of the <see cref="XrdsNode"/> class.
		/// </summary>
		/// <param name="node">The node represented by this instance.</param>
		/// <param name="parentNode">The parent node.</param>
		protected XrdsNode(XPathNavigator node, XrdsNode parentNode) {
			Contract.Requires<ArgumentNullException>(node != null);
			Contract.Requires<ArgumentNullException>(parentNode != null);

			this.Node = node;
			this.ParentNode = parentNode;
			this.XmlNamespaceResolver = this.ParentNode.XmlNamespaceResolver;
		}
        /// <summary>
        /// Initializes a new instance of the <see cref="XrdsNode"/> class.
        /// </summary>
        /// <param name="node">The node represented by this instance.</param>
        /// <param name="parentNode">The parent node.</param>
        protected XrdsNode(XPathNavigator node, XrdsNode parentNode)
        {
            ErrorUtilities.VerifyArgumentNotNull(node, "node");
            ErrorUtilities.VerifyArgumentNotNull(parentNode, "parentNode");

            this.Node                 = node;
            this.ParentNode           = parentNode;
            this.XmlNamespaceResolver = this.ParentNode.XmlNamespaceResolver;
        }
Beispiel #4
0
        /// <summary>
        /// Initializes a new instance of the <see cref="XrdsNode"/> class.
        /// </summary>
        /// <param name="node">The node represented by this instance.</param>
        /// <param name="parentNode">The parent node.</param>
        protected XrdsNode(XPathNavigator node, XrdsNode parentNode)
        {
            Contract.Requires <ArgumentNullException>(node != null);
            Contract.Requires <ArgumentNullException>(parentNode != null);

            this.Node                 = node;
            this.ParentNode           = parentNode;
            this.XmlNamespaceResolver = this.ParentNode.XmlNamespaceResolver;
        }
Beispiel #5
0
        /// <summary>
        /// Initializes a new instance of the <see cref="XrdsNode"/> class.
        /// </summary>
        /// <param name="node">The node represented by this instance.</param>
        /// <param name="parentNode">The parent node.</param>
        protected XrdsNode(XPathNavigator node, XrdsNode parentNode)
        {
            Requires.NotNull(node, "node");
            Requires.NotNull(parentNode, "parentNode");

            this.Node                 = node;
            this.ParentNode           = parentNode;
            this.XmlNamespaceResolver = this.ParentNode.XmlNamespaceResolver;
        }
Beispiel #6
0
        /// <summary>
        /// Initializes a new instance of the <see cref="XrdsNode"/> class.
        /// </summary>
        /// <param name="node">The node represented by this instance.</param>
        /// <param name="parentNode">The parent node.</param>
        protected XrdsNode(XPathNavigator node, XrdsNode parentNode)
        {
            ErrorUtilities.VerifyArgumentNotNull(node, "node");
            ErrorUtilities.VerifyArgumentNotNull(parentNode, "parentNode");

            this.Node = node;
            this.ParentNode = parentNode;
            this.XmlNamespaceResolver = this.ParentNode.XmlNamespaceResolver;
        }