Show / Hide Table of Contents

    Class CsvSyncInputBase

    Models a CSV source data stream that can be processed synchronously.

    Inheritance
    Object
    CsvSyncInputBase
    CsvMemoryMappedFileInput
    CsvReadOnlyMemoryInput
    CsvReadOnlySequenceInput
    CsvSyncStreamInput
    Inherited Members
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    Object.ReferenceEquals(Object, Object)
    Object.ToString()
    Namespace: Cursively.Inputs
    Assembly: Cursively.dll
    Syntax
    public abstract class CsvSyncInputBase

    Methods

    | Improve this Doc View Source

    Process(CsvReaderVisitorBase)

    Describes the contents of this CSV data stream to a CsvReaderVisitorBase.

    Declaration
    public void Process(CsvReaderVisitorBase visitor)
    Parameters
    Type Name Description
    CsvReaderVisitorBase visitor

    The CsvReaderVisitorBase to describe this CSV data stream to.

    Exceptions
    Type Condition
    InvalidOperationException

    Thrown when this stream has already been processed.

    | Improve this Doc View Source

    ProcessCore(CsvReaderVisitorBase)

    Implements the inner logic for Process(CsvReaderVisitorBase).

    Declaration
    protected abstract void ProcessCore(CsvReaderVisitorBase visitor)
    Parameters
    Type Name Description
    CsvReaderVisitorBase visitor

    The CsvReaderVisitorBase to describe this CSV data stream to.

    Remarks

    The base class will call this method at most once per instance.

    | Improve this Doc View Source

    ThrowIfProcessingHasAlreadyStarted()

    Throws if Process(CsvReaderVisitorBase) has already been called for this instance.

    Declaration
    protected void ThrowIfProcessingHasAlreadyStarted()
    • Improve this Doc
    • View Source
    Back to top Generated by DocFX