Table of Contents

Namespace FlameCsv

Classes

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.

CsvPreservedRecord<T>

A preserved copy of the data in a CSV record.

CsvReader

Provides static methods for reading CSV data.

CsvWriter

Provides static methods for writing CSV data.

CsvWriter<T>

Provides convenience methods for writing CSV records.

Structs

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>.

CsvRecord<T>

Represents the current record when reading CSV.

CsvRecord<T>.Enumerator

Enumerates the fields in the record.

Enums

CsvFieldQuoting

Flags enumeration that determines when CSV fields should be wrapped in quotes when writing.
Multiple flags can be combined to apply several quoting rules.

CsvFieldTrimming

Enumeration that determines how leading and trailing spaces is handled when reading CSV fields.

CsvNewline

Enumeration that determines how newlines are handled in CSV files.

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.