Table of Contents

Class ExcelSinkExtension

Namespace
Datafication.Sinks.Connectors.ExcelConnector
Assembly
Datafication.ExcelConnector.dll
public static class ExcelSinkExtension
Inheritance
object
ExcelSinkExtension

Methods

ExcelSink(DataBlock)

Synchronously transforms the DataBlock into an XLSX file (as byte array) using the Excel sink.

public static byte[] ExcelSink(this DataBlock dataBlock)

Parameters

dataBlock DataBlock

The DataBlock to transform.

Returns

byte[]

A byte array representing the XLSX file.

ExcelSinkAsync(DataBlock)

Asynchronously transforms the DataBlock into an XLSX file (as byte array) using the Excel sink.

public static Task<byte[]> ExcelSinkAsync(this DataBlock dataBlock)

Parameters

dataBlock DataBlock

The DataBlock to transform.

Returns

Task<byte[]>

A task that represents the asynchronous transformation into a byte array.