Beispiel #1
0
        /// <devdoc>
        ///     <para>
        ///         Moves to the attribute with the specified <see cref='XPathReader.LocalName' />
        ///         and <see cref='NamespaceURI' /> .
        ///     </para>
        /// </devdoc>
        public override bool MoveToAttribute(string AttributeName, string ns)
        {
            var result = BaseReader.MoveToAttribute(AttributeName, ns);

            if (result)
            {
                _XPathCollection.Advance(this);
            }
            return(result);
        }
Beispiel #2
0
        /// <devdoc>
        ///     <para>Moves to the attribute with the specified <see cref='XPathReader.Name' /> .</para>
        /// </devdoc>
        public override bool MoveToAttribute(string AttributeName)
        {
            ReadMethod = ReadMethods.MoveToAttribute;

            var ret = BaseReader.MoveToAttribute(AttributeName);

            if (ret)
            {
                _XPathCollection.Advance(this);
            }
            return(ret);
        }
Beispiel #3
0
 /// <inheritdoc/>
 public override bool MoveToAttribute(string localName, string namespaceURI) => BaseReader.MoveToAttribute(localName, namespaceURI);
Beispiel #4
0
 /// <inheritdoc/>
 public override bool MoveToAttribute(string name) => BaseReader.MoveToAttribute(name);
Beispiel #5
0
 /// <inheritdoc/>
 public override void MoveToAttribute(int index) => BaseReader.MoveToAttribute(index);
Beispiel #6
0
 /// <devdoc>
 ///     <para>Moves to the attribute with the specified index.</para>
 /// </devdoc>
 public override void MoveToAttribute(int i)
 {
     ReadMethod = ReadMethods.MoveToAttribute;
     BaseReader.MoveToAttribute(i);
     _XPathCollection.Advance(this);
 }
Beispiel #7
0
 /// <inheritdoc/>
 public override bool MoveToAttribute(string name)
 {
     return(BaseReader.MoveToAttribute(name));
 }