示例#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
文件: Iterator.cs 项目: cyplo/mono
		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();
 }