Search Results for

    Show / Hide Table of Contents

    Class CsvConfiguration

    CSV configuration Set the delimiter or other options All properties offer defaults, creating new() is fine

    Inheritance
    System.Object
    CsvConfiguration
    Namespace: FluentCsvMachine
    Assembly: library.dll
    Syntax
    public class CsvConfiguration : object

    Constructors

    | Improve this Doc View Source

    CsvConfiguration()

    CSV default configuration

    Declaration
    public CsvConfiguration()
    | Improve this Doc View Source

    CsvConfiguration(Char)

    CSV default configuration with a custom delimiter

    Declaration
    public CsvConfiguration(char delimiter)
    Parameters
    Type Name Description
    System.Char delimiter
    | Improve this Doc View Source

    CsvConfiguration(Char, Encoding)

    CSV default configuration with a custom delimiter and file encoding

    Declaration
    public CsvConfiguration(char delimiter, Encoding encoding)
    Parameters
    Type Name Description
    System.Char delimiter
    Encoding encoding

    Properties

    | Improve this Doc View Source

    BufferSize

    File read buffer size https://referencesource.microsoft.com/#mscorlib/system/io/stream.cs,2a0f078c2e0c0aa8,references

    Declaration
    public int BufferSize { get; set; }
    Property Value
    Type Description
    System.Int32
    | Improve this Doc View Source

    Comment

    Comment character, not defined in RFC 4180

    Declaration
    public char? Comment { get; set; }
    Property Value
    Type Description
    System.Nullable<System.Char>
    | Improve this Doc View Source

    DecimalPoint

    Char to separate number and fraction e.g. 3.33

    Declaration
    public char DecimalPoint { get; set; }
    Property Value
    Type Description
    System.Char
    | Improve this Doc View Source

    Delimiter

    Delimiter separating columns

    Declaration
    public char Delimiter { get; set; }
    Property Value
    Type Description
    System.Char
    | Improve this Doc View Source

    Encoding

    Encoding of the file

    Declaration
    public Encoding Encoding { get; set; }
    Property Value
    Type Description
    Encoding
    | Improve this Doc View Source

    EntityQueueSize

    Queue between FileParser and Entity factory Probably no change is necessary Shared between the number of threads, a small queue causes too many thread context changes

    Declaration
    public int EntityQueueSize { get; set; }
    Property Value
    Type Description
    System.Int32
    | Improve this Doc View Source

    HeaderSearchLimit

    Header needs to be defined in the first x lines

    Declaration
    public int HeaderSearchLimit { get; set; }
    Property Value
    Type Description
    System.Int32
    | Improve this Doc View Source

    MaxNumberOfColumns

    Maximum number of columns Value is used for performance optimizations

    Declaration
    public int MaxNumberOfColumns { get; set; }
    Property Value
    Type Description
    System.Int32
    | Improve this Doc View Source

    NewLine

    New line character

    Declaration
    public char NewLine { get; set; }
    Property Value
    Type Description
    System.Char
    | Improve this Doc View Source

    Quote

    Quote character, RFC 4180 only allows "

    Declaration
    public char Quote { get; set; }
    Property Value
    Type Description
    System.Char
    | Improve this Doc View Source

    QuoteEscape

    Quote escape character

    Declaration
    public char QuoteEscape { get; set; }
    Property Value
    Type Description
    System.Char
    | Improve this Doc View Source

    ThousandsChar

    Char to separate thousands Set by DecimalPoint;

    Declaration
    public char ThousandsChar { get; }
    Property Value
    Type Description
    System.Char
    • Improve this Doc
    • View Source
    In This Article
    Back to top Copyright travelr - MIT License