CSV DataExporter
Inheritance: IDataExporter
Exemplo n.º 1
0
 /// <summary>
 /// CSV DataExporter
 /// </summary>
 /// <param name="description">the produced file's description</param>
 /// <param name="fileName">the produced file's name</param> 
 public void ToCsv(string description = "Exported Data", string fileName = "data.csv")
 {
     var exportToCsv = new ExportToCsv
     {
         Description = description,
         FileName = fileName
     };
     _pdfReport.DataBuilder.CustomExportSettings.Add(exportToCsv);
 }