/// <summary> /// Position this navigator to the same position as the "other" navigator. If the "other" navigator /// is not of the same type as this navigator, then return false. /// </summary> public override bool MoveTo(XPathNavigator other) { RtfTreeNavigator that = other as RtfTreeNavigator; if (that != null) { this.events = that.events; this.constr = that.constr; this.nameTable = that.nameTable; return(true); } return(false); }
/// <summary> /// Copy constructor. /// </summary> public RtfTreeNavigator(RtfTreeNavigator that) { this.events = that.events; this.constr = that.constr; this.nameTable = that.nameTable; }
/// <summary> /// Copy constructor. /// </summary> public RtfTreeNavigator(RtfTreeNavigator that) { _events = that._events; _constr = that._constr; _nameTable = that._nameTable; }