/// <summary> /// Initializes a new instance of the <see cref="FooterRow"/> class with /// a <see cref="MultilineText"/> content. /// </summary> public FooterRow(MultilineText content) { FooterCell = new FooterCell { ParentRow = this, Content = content ?? MultilineText.Empty }; }
/// <summary> /// Initializes a new instance of the <see cref="FooterRow"/> class with /// an <see cref="object"/> representing the content. /// </summary> public FooterRow(object content) { FooterCell = new FooterCell { ParentRow = this, Content = content?.ToString() ?? MultilineText.Empty }; }
/// <summary> /// Initializes a new instance of the <see cref="FooterRow"/> class with /// the text content. /// </summary> public FooterRow(string content) { FooterCell = new FooterCell { ParentRow = this, Content = content == null ? MultilineText.Empty : new MultilineText(content) }; }