Title here
Summary here
A Csv destination defines a csv file where data from the flow is inserted.
public class CsvDestination<TInput> : DataFlowStreamDestination<TInput>, IDataFlowStreamDestination<TInput>, IDataFlowDestination<TInput>, IDataFlowStreamDestination, IDataFlowDestination, IDataFlowComponent, ILoggableTask
Name | Description |
---|---|
TInput | Type of ingoing data |
CsvDestination<MyRow> dest = new CsvDestination<MyRow>("/path/to/file.csv");
dest.Wait(); //Wait for all data to arrive
public CsvDestination()
public CsvDestination(string uri)
Type | Name | Description |
---|---|---|
string | uri | The destination csv file name or uri |
public CsvDestination(string uri, ResourceType resourceType)
Type | Name | Description |
---|---|---|
string | uri | The destination csv file name or uri |
ResourceType | resourceType | Specifies if data is loaded from a file, a web endpoint or other storage types (e.g. Azure Blob Storage) |
The CsvHelper Configuration. E.g. you can change the delimiter or the escape character here.
public CsvConfiguration Configuration { get; set; }
Type | Description |
---|---|
CsvConfiguration |
Gives you access to the CsvHelper CsvContext. You can modify the context before data is written.
public Action<CsvContext> CsvContext { get; set; }
Type | Description |
---|---|
Action<CsvContext> |
The content type used when sending the http request content.
public override string HttpContentType { get; set; }
Type | Description |
---|---|
string |
protected override void CheckParameter()
protected override void CloseStream()
protected override void InitStream()
protected override void WriteIntoStream(TInput data)
Type | Name | Description |
---|---|---|
TInput | data |