Exemplo n.º 1
0
 /* Public Interface */
 /// <summary>Initializes new instance.</summary>
 /// <param name="prefix">Prefix to be associated with this instance.</param>
 /// <param name="namespaces"><see cref="XmlNamespaces"/> object which owns this instance.</param>
 public ActiveMapping(string prefix, XmlNamespaces namespaces)
 {
     if (namespaces == null)
     throw new ArgumentNullException("namespaces");
       this.prefix = prefix;
       this.namespaces = namespaces;
 }
Exemplo n.º 2
0
        /* Public Interface */

        /// <summary>Initializes new instance.</summary>
        /// <param name="namespaces"><see cref="XmlNamespaces"/> object which owns this instance.</param>
        public NamespaceScope(XmlNamespaces namespaces)
        {
            if (namespaces == null)
            {
                throw new ArgumentNullException("namespaces");
            }
            this.namespaces = namespaces;
            nsMappings      = new Stack <NamespaceMapping>(4);
        }
Exemplo n.º 3
0
        /* Public Interface */

        /// <summary>Initializes new instance.</summary>
        /// <param name="prefix">Prefix to be associated with this instance.</param>
        /// <param name="namespaces"><see cref="XmlNamespaces"/> object which owns this instance.</param>
        public ActiveMapping(string prefix, XmlNamespaces namespaces)
        {
            if (namespaces == null)
            {
                throw new ArgumentNullException("namespaces");
            }
            this.prefix     = prefix;
            this.namespaces = namespaces;
        }
Exemplo n.º 4
0
 /* Public Interface */
 /// <summary>Initializes new instance.</summary>
 /// <param name="namespaces"><see cref="XmlNamespaces"/> object which owns this instance.</param>
 public NamespaceScope(XmlNamespaces namespaces)
 {
     if (namespaces == null)
     throw new ArgumentNullException("namespaces");
       this.namespaces = namespaces;
       nsMappings = new Stack<NamespaceMapping>(4);
 }