Table of Contents

Interface IMaterializer<T, TResult>

Namespace
FlameCsv.Reading
Assembly
FlameCsv.Core.dll

Instance of a type that reads CSV records into objects/structs.

public interface IMaterializer<T, out TResult> where T : unmanaged, IBinaryInteger<T>

Type Parameters

T
TResult

Methods

Parse(CsvRecordRef<T>)

Parses TResult from the CSV record.

TResult Parse(CsvRecordRef<T> record)

Parameters

record CsvRecordRef<T>

CSV record

Returns

TResult

Parsed value

Exceptions

CsvFormatException

Thrown if the data is invalid (e.g., wrong number of fields)

CsvParseException

Thrown if a value cannot be parsed