Beispiel #1
0
 /// <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
     };
 }
Beispiel #2
0
 /// <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
     };
 }
Beispiel #3
0
 /// <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)
     };
 }