Class CsvSnifferOptions
Options controlling how Detect(ReadOnlySpan<byte>, CsvSnifferOptions?) infers a CsvDialect.
public sealed record CsvSnifferOptions : IEquatable<CsvSnifferOptions>
- Inheritance
-
CsvSnifferOptions
- Implements
- Inherited Members
Properties
CandidateDelimiters
Gets the delimiters tried, in order. The order is the tie-break criterion when two candidates score equally. Defaults to , ; tab |.
public byte[] CandidateDelimiters { get; init; }
Property Value
- byte[]
CandidateQuotes
Gets the quote characters tried, in order. Defaults to " '.
public byte[] CandidateQuotes { get; init; }
Property Value
- byte[]
Default
Gets the default options instance.
public static CsvSnifferOptions Default { get; }
Property Value
MaxSampleLines
Gets the maximum number of lines from the sample considered. Defaults to 20.
public int MaxSampleLines { get; init; }