Show / Hide Table of Contents

    Class CsvAsyncInput

    Helpers to create inputs that describe CSV data streams asynchronously.

    Inheritance
    Object
    CsvAsyncInput
    Inherited Members
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    Object.ReferenceEquals(Object, Object)
    Object.ToString()
    Namespace: Cursively
    Assembly: Cursively.dll
    Syntax
    public static class CsvAsyncInput

    Methods

    | Improve this Doc View Source

    ForPipeReader(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 reader.

    | Improve this Doc View Source

    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 csvStream.

    Exceptions
    Type Condition
    ArgumentException

    Thrown when csvStream is non-null and its CanRead is false.

    • Improve this Doc
    • View Source
    Back to top Generated by DocFX