Пример #1
0
 protected SimpleIterator(SimpleIterator other, bool clone) : base(other)
 {
     if (other._nav != null)
     {
         _nav = clone ? other._nav.Clone() : other._nav;
     }
     skipfirst = other.skipfirst;
 }
Пример #2
0
 private AxisIterator(AxisIterator other) : base(other)
 {
     _iter = (SimpleIterator)other._iter.Clone();
     _test = other._test;
     //name = other.name;
     //ns = other.ns;
     //matchType = other.matchType;
 }
Пример #3
0
 protected SimpleIterator(SimpleIterator other, bool clone) : base(other)
 {
     if (other._nav != null)
     {
         this._nav = ((!clone) ? other._nav : other._nav.Clone());
     }
     this.skipfirst = other.skipfirst;
 }
Пример #4
0
        //string name, ns;
        //XPathNodeType matchType;

        public AxisIterator(SimpleIterator iter, NodeTest test) : base(iter.NamespaceManager)
        {
            _iter = iter;
            _test = test;
            //test.GetInfo (out name, out ns, out matchType, NamespaceManager);
//			if (name != null)
//				name = Current.NameTable.Add (name);

//			if (ns != null)
//				ns = Current.NameTable.Add (ns);
        }
Пример #5
0
		protected SimpleIterator (SimpleIterator other, bool clone) : base (other)
		{
			if (other._nav != null)
				_nav = clone ? other._nav.Clone () : other._nav;
			skipfirst = other.skipfirst;
		}
Пример #6
0
 protected SimpleIterator(SimpleIterator other, bool clone) : base(other)
 {
     _nav = other._nav.Clone();
 }