コード例 #1
0
ファイル: Iterator.cs プロジェクト: xiaochuwang/mono
 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();
 }