Class CsvAsyncInput
Helpers to create inputs that describe CSV data streams asynchronously.
Inherited Members
Namespace: Cursively
Assembly: Cursively.dll
Syntax
public static class CsvAsyncInput
Methods
| Improve this Doc View SourceForPipeReader(PipeReader)
Creates an input that can describe the contents of a given PipeReader to an instance of CsvReaderVisitorBase, asynchronously.
Declaration
public static CsvPipeReaderInput ForPipeReader(PipeReader reader)
Parameters
Type | Name | Description |
---|---|---|
PipeReader | reader | The PipeReader that contains the CSV data. |
Returns
Type | Description |
---|---|
CsvPipeReaderInput | An instance of CsvPipeReaderInput wrapping |
ForStream(Stream)
Creates an input that can describe the contents of a given Stream to an instance of CsvReaderVisitorBase, asynchronously.
Declaration
public static CsvAsyncStreamInput ForStream(Stream csvStream)
Parameters
Type | Name | Description |
---|---|---|
Stream | csvStream | The Stream that contains the CSV data. |
Returns
Type | Description |
---|---|
CsvAsyncStreamInput | An instance of CsvAsyncStreamInput wrapping |
Exceptions
Type | Condition |
---|---|
ArgumentException | Thrown when |