internal SeekableMessageNavigator(SeekableMessageNavigator nav) { Fx.Assert(nav != null, "Navigator may not be null"); this.counter = nav.counter; this.dom = nav.dom; this.location = nav.location; this.specialParent = nav.specialParent; if (this.specialParent != NullIndex) { this.nsStack = nav.CloneNSStack(); } }
// Move this navigator to the same position as the given one internal bool MoveTo(SeekableMessageNavigator nav) { if (nav == null) { return false; } this.dom = nav.dom; this.counter = nav.counter; this.location = nav.location; this.specialParent = nav.specialParent; if (this.specialParent != NullIndex) { this.nsStack = nav.CloneNSStack(); } return true; }
internal SeekableMessageNavigator(SeekableMessageNavigator nav) { this.counter = nav.counter; this.dom = nav.dom; this.location = nav.location; this.specialParent = nav.specialParent; if (this.specialParent != 0) { this.nsStack = nav.CloneNSStack(); } }