Ejemplo n.º 1
0
 internal override bool MatchNode(XmlReader qyContext)
 {
     if (_opnd1.MatchNode(qyContext))
     {
         return(true);
     }
     return(_opnd2.MatchNode(qyContext));
 }
Ejemplo n.º 2
0
 //
 // the only place that needs to be changed
 //
 /// <include file='doc\XPathReader.uex' path='docs/doc[@for="XPathReader.Read"]/*' />
 public override bool Read()
 {
     while (_Reader.Read())
     {
         if (_IfQuery.MatchNode(_Reader))
         {
             return(true);
         }
     }
     return(false);
 }
Ejemplo n.º 3
0
 internal override bool MatchNode(XmlReader reader)
 {
     if (_opnd1.MatchNode(reader))
     {
         return(true);
     }
     if (_opnd2.MatchNode(reader))
     {
         return(true);
     }
     return(false);
 }