Search Results for

    Show / Hide Table of Contents

    Class CsvTableSourceBase

    Abstract base for delimited text file sources (CSV, TSV, etc.).

    Inheritance
    object
    CsvTableSourceBase
    CsvTableSource
    GoogleSheetSource
    TsvTableSource
    Implements
    ITableSource
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Glitch9.AIDevKit.Sheets
    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
    Type Description
    TableSchema

    Methods

    | Edit this page View Source

    LoadRowsAsync(CancellationToken)

    Declaration
    public IAsyncEnumerable<SheetRow> LoadRowsAsync(CancellationToken ct)
    Parameters
    Type Name Description
    CancellationToken ct
    Returns
    Type Description
    IAsyncEnumerable<SheetRow>

    Implements

    ITableSource

    Extension Methods

    ArrayExtensions.ToArrayOrEmpty<T>(T)
    ArrayExtensions.ToArrayOrNull<T>(T)
    EventExtensions.ToDelta<T>(T, string, int, string, bool)
    EventExtensions.ToDone<T>(T, string, int, string)
    EventExtensions.ToEvent<T>(T)
    EventExtensions.UpcastDelta<T1, T2>(T1, string, int, string, bool)
    FallbackExtensions.IsOr<TParent, TChild>(TParent, TChild)
    ResponseCastingExtensions.GetResult<T>(T)
    SystemExtensions.GetName(object)
    • Edit this page
    • View Source
    In this article
    Back to top AI DevKit Documentation