Exemplo n.º 1
0
        /// <summary>
        /// Initializes a new instance of the OpenXmlSimpleValue class by deep copying the supplied OpenXmlSimpleValue class.
        /// </summary>
        /// <param name="source">The source OpenXmlSimleValue class.</param>
        protected OpenXmlSimpleValue(OpenXmlSimpleValue <T> source)
            : base(source)
        {
            if (source == null)
            {
                throw new ArgumentNullException(nameof(source));
            }

            this.InnerText = source.InnerText;
        }
Exemplo n.º 2
0
 /// <summary>
 /// Initializes a new instance of the OpenXmlSimpleValue class by deep copying the supplied OpenXmlSimpleValue class.
 /// </summary>
 /// <param name="source">The source OpenXmlSimleValue class.</param>
 protected OpenXmlSimpleValue(OpenXmlSimpleValue <T> source)
     : base(source)
 {
     InnerText = source.InnerText;
 }