PIbd-31_Danilov_V_V_COP-30/Components/SaveToPdfHelpers/PdfDocumentData.cs

23 lines
664 B
C#
Raw Normal View History

2024-10-16 14:03:22 +04:00
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Components.SaveToPdfHelpers
{
public class PdfDocumentData
{
public string FileName { get; set; }
public string DocumentTitle { get; set; }
public List<string[,]> Tables { get; set; }
public PdfDocumentData(string fileName, string documentTitle, List<string[,]> tables)
{
FileName = fileName ?? throw new ArgumentNullException(nameof(fileName));
DocumentTitle = documentTitle ?? throw new ArgumentNullException(nameof(documentTitle));
Tables = tables ?? throw new ArgumentNullException(nameof(tables));
}
}
}