Table of Contents

Class CsvReader

Namespace
Bonsai.IO
Assembly
Bonsai.System.dll

Represents an operator that generates a sequence of values for every line in a text file.

[WorkflowElementCategory(ElementCategory.Source)]
public class CsvReader : CombinatorExpressionBuilder, IPropertyMappingBuilder, IExpressionBuilder
Inheritance
CsvReader
Implements
Inherited Members
Extension Methods

Constructors

CsvReader()

Initializes a new instance of the CsvReader class.

Properties

FileName

Gets or sets the name of the CSV file.

ListSeparator

Gets or sets the separator used to delimit elements in variable length rows. This argument is optional.

ScanPattern

Gets or sets the optional parse pattern for scanning individual lines. In case of variable length rows, the pattern will be applied to each individual element.

SkipRows

Gets or sets the number of lines to skip at the start of the file.

Methods

BuildCombinator(IEnumerable<Expression>)

When overridden in a derived class, generates an Expression node that will be combined with any existing property mappings to produce the final output of the expression builder.