CsvSource Class

NReco.PivotData Class Library Documentation
Provides input data for PivotData from CSV stream.
Inheritance Hierarchy

SystemObject
  NReco.PivotData.InputCsvSource

Namespace:  NReco.PivotData.Input
Assembly:  NReco.PivotData.Extensions (in NReco.PivotData.Extensions.dll) Version: 1.6.1
Syntax

public class CsvSource : IPivotDataSource

The CsvSource type exposes the following members.

Constructors

  NameDescription
Public methodCsvSource(TextReader)
Initializes new CsvSource instance with specified TextReader.
Public methodCsvSource(TextReader, CsvConfiguration)
Initializes new CsvSource instance with specified TextReader and CSV configuration.
Top
Properties

  NameDescription
Public propertyHeaders
Get or set explicit list of CSV column headers (overrides CSV column names if present).
Public propertyRowsLimit
Get or set a limit for maximum number of CSV rows to read.
Top
Methods

  NameDescription
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Protected methodGetValue
Protected methodMemberwiseClone (Inherited from Object.)
Public methodReadData
Reads data from CSV reader and provides it as IEnumerable with field access handler to the specified callback.
Public methodToString (Inherited from Object.)
Top
See Also

Reference