/// <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) { RtfTextNavigator that = other as RtfTextNavigator; if (that != null) { this.text = that.text; this.baseUri = that.baseUri; this.constr = that.constr; return(true); } return(false); }
/// <summary> /// Copy constructor. /// </summary> public RtfTextNavigator(RtfTextNavigator that) { this.text = that.text; this.baseUri = that.baseUri; this.constr = that.constr; }
/// <summary> /// Copy constructor. /// </summary> public RtfTextNavigator(RtfTextNavigator that) { _text = that._text; _baseUri = that._baseUri; _constr = that._constr; }