/// <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; }
/// <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; }