/// <summary> /// Initializes a new instance of the <see cref="AbstractDocument"/> class based on <paramref name="other"/>. /// </summary> /// <param name="other">The other <see cref="AbstractDocument"/> object to copy</param> protected AbstractDocument(AbstractDocument other) { if (null == other) throw new ArgumentNullException("other"); this._fileName = other._fileName; this._rootAttributeDictionary = other._rootAttributeDictionary; }
/// <summary> /// Initializes a new instance of the <see cref="AbstractDocument"/> class based on <paramref name="other"/>. /// </summary> /// <param name="other">The other <see cref="AbstractDocument"/> object to copy</param> protected AbstractDocument(AbstractDocument other) { if (null == other) { throw new ArgumentNullException("other"); } this._fileName = other._fileName; this._rootAttributeDictionary = other._rootAttributeDictionary; }