예제 #1
0
        /// <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;

        }
예제 #2
0
        /// <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;
        }