Table of Contents

Class FlameCsvGlobalOptions

Namespace
FlameCsv
Assembly
FlameCsv.Core.dll

Contains global options for FlameCSV configurable through environment variables.

[EditorBrowsable(EditorBrowsableState.Never)]
public static class FlameCsvGlobalOptions
Inheritance
FlameCsvGlobalOptions

Fields

DefaultReadAheadCount

Default size for the field read ahead buffer.

public const int DefaultReadAheadCount = 4096

Field Value

int
See Also

Properties

CachingDisabled

Indicates whether the application is short-lived.
Environment variable FLAMECSV_DISABLE_CACHING can be set to disable caching.

public static bool CachingDisabled { get; set; }

Property Value

bool

Exceptions

NotSupportedException

The property is modified after using the library or using the getter.

ReadAheadCount

Default number of CSV fields to read ahead. Defaults to DefaultReadAheadCount, minimum is 32.
Environment variable FLAMECSV_MAX_READAHEAD can be used to override.

public static int ReadAheadCount { get; set; }

Property Value

int

Remarks

This is only the initial value. If a record has more fields than the read ahead buffer, the buffer will be resized to accommodate

Exceptions

NotSupportedException

The property is modified after using the library or using the getter.