Class CsvTableSourceBase
Abstract base for delimited text file sources (CSV, TSV, etc.).
Inheritance
CsvTableSourceBase
Assembly: Glitch9.AIDevKit.Sheets.dll
Syntax
public abstract class CsvTableSourceBase : ITableSource
Constructors
|
Edit this page
View Source
CsvTableSourceBase(ITableReader, CsvDataReaderOptions, string, int)
Declaration
protected CsvTableSourceBase(ITableReader tableReader, CsvDataReaderOptions options, string keyColumnName = null, int headerRowIndex = 0)
Parameters
| Type |
Name |
Description |
| ITableReader |
tableReader |
|
| CsvDataReaderOptions |
options |
|
| string |
keyColumnName |
|
| int |
headerRowIndex |
|
Properties
|
Edit this page
View Source
Schema
Schema is available after the first call to LoadRowsAsync.
LoadRowsAsync builds the schema internally before yielding rows.
Declaration
public TableSchema Schema { get; }
Property Value
Methods
|
Edit this page
View Source
LoadRowsAsync(CancellationToken)
Declaration
public IAsyncEnumerable<SheetRow> LoadRowsAsync(CancellationToken ct)
Parameters
Returns
Implements
Extension Methods