internal XPathNodeIterator Select(XPathExpression expr, NSResolver ctx) { CompiledExpression cexpr = (CompiledExpression)expr; if (ctx == null) { ctx = cexpr.NamespaceManager; } BaseIterator iter = new NullIterator(this, ctx); return(cexpr.EvaluateNodeSet(iter)); }
internal string EvaluateString(XPathExpression expr, XPathNodeIterator context, NSResolver ctx) { CompiledExpression cexpr = (CompiledExpression)expr; if (ctx == null) { ctx = cexpr.NamespaceManager; } if (context == null) { context = new NullIterator(this, cexpr.NamespaceManager); } BaseIterator iterContext = ToBaseIterator(context, ctx); return(cexpr.EvaluateString(iterContext)); }
internal bool EvaluateBoolean(XPathExpression expr, XPathNodeIterator context, NSResolver ctx) { CompiledExpression cexpr = (CompiledExpression)expr; if (ctx == null) { ctx = cexpr.NamespaceManager; } if (context == null) { context = new NullIterator(this, cexpr.NamespaceManager); } BaseIterator iterContext = (BaseIterator)context; iterContext.NamespaceManager = ctx; return(cexpr.EvaluateBoolean(iterContext)); }
internal XPathNodeIterator Select (XPathExpression expr, NSResolver ctx) { CompiledExpression cexpr = (CompiledExpression) expr; if (ctx == null) ctx = cexpr.NamespaceManager; BaseIterator iter = new NullIterator (this, ctx); return cexpr.EvaluateNodeSet (iter); }
internal bool EvaluateBoolean (XPathExpression expr, XPathNodeIterator context, NSResolver ctx) { CompiledExpression cexpr = (CompiledExpression) expr; if (ctx == null) ctx = cexpr.NamespaceManager; if (context == null) context = new NullIterator (this, cexpr.NamespaceManager); BaseIterator iterContext = ToBaseIterator (context, ctx); iterContext.NamespaceManager = ctx; return cexpr.EvaluateBoolean (iterContext); }
private NullIterator(NullIterator other) : base(other, true) { }
private NullIterator (NullIterator other) : base (other, true) {}