Table of Contents

Namespace FlameCsv

Classes

CsvAsyncWriter<T>

Instance that provides convenience methods around CsvFieldWriter<T>.

CsvConverterFactory<T>

Creates instances of CsvConverterFactory<T>. By default, used to resolve converters for enum and Nullable<T>.

CsvConverter<T>

Base class used for registering custom converters.
Implement a converter by inheriting either CsvConverter<T, TValue> or CsvConverterFactory<T>

CsvConverter<T, TValue>

Parses and formats TValue to/from CSV fields.

CsvHeader

Read-only CSV header record.

CsvOptions<T>

Object used to configure dialect, converters, and other options to read and write CSV data.

CsvReader

Provides static methods for reading CSV data.

CsvRecord<T>

A self-contained copy of a single CSV record.

CsvWriter

Provides static methods for writing CSV data.

CsvWriter<T>

Instance that provides convenience methods around CsvFieldWriter<T>.

FlameCsvGlobalOptions

Contains global options for FlameCSV configurable through environment variables.

Structs

CsvDialect<T>

Contains the token configuration for reading and writing CSV.

CsvExceptionHandlerArgs<T>

Arguments for CsvExceptionHandler<T>.

CsvFieldIdentifier

Identifier for a CSV field, pointing to a specific field by index, or by header name. Can be implicitly created from an integer or a string.
This type is not comparable to any other field identifier, as it's dependent on the header values.

CsvOptions<T>.AotSafeConverters

Wrapper around Converters to provide AOT-safe access to converters.

CsvRecordCallbackArgs<T>

Arguments for CsvRecordCallback<T>.

CsvValueRecord<T>

Represents the current record when reading CSV.

CsvValueRecord<T>.Enumerator

Enumerates the fields in the record.

NewlineBuffer<T>

Internal implementation detail.

Delegates

CsvExceptionHandler<T>

Callback for custom handling of parsing errors.

CsvRecordCallback<T>

Callback called for every record (line) before it is returned or parsed into an object/struct.