Class ExcelSink
- Namespace
- Datafication.Sinks.Connectors.ExcelConnector
- Assembly
- Datafication.ExcelConnector.dll
Transforms a DataBlock into an XLSX-formatted file.
public class ExcelSink : IDataSink<byte[]>
- Inheritance
-
objectExcelSink
- Implements
-
IDataSink<byte[]>
Methods
Transform(DataBlock)
Transforms the provided DataBlock into an XLSX file represented as a byte array.
public Task<byte[]> Transform(DataBlock dataBlock)
Parameters
dataBlockDataBlockThe DataBlock containing the data to export.
Returns
- Task<byte[]>
A task that produces a byte array of the XLSX file.