Class CsvDeserializationSettings
Privides settings that control the process of CSV deserialization.
Inheritance
CsvDeserializationSettings
Assembly: Melanchall.DryWetMidi.dll
public sealed class CsvDeserializationSettings
Properties
Gets or sets the size in bytes of the internal buffer for reading data within
the process of CSV deserialization. The default value is 1024
.
Declaration
public int BufferSize { get; set; }
Property Value
Exceptions
Gets or sets the character used to delimit elements in a byte array when represented as a string
(for example, when
Data of a sysex event is being deserialized).
The default value is space (
' '
).
Declaration
public char BytesArrayDelimiter { get; set; }
Property Value
Gets or sets a value that defines how bytes arrays (for example,
Data)
are presented in CSV. The default value is
Decimal.
Declaration
public CsvBytesArrayFormat BytesArrayFormat { get; set; }
Property Value
Exceptions
Gets or sets the character used as the values delimiter in CSV records. The default value
is comma (','
).
Declaration
public char Delimiter { get; set; }
Property Value
Gets or sets a value that defines how length of notes is presented in CSV.
The default value is
null
which means length format will be resolved automatically.
More info on the supported formats in the
Time and length article.
Declaration
public TimeSpanType? LengthType { get; set; }
Property Value
Exceptions
Gets or sets a value that defines how note numbers (for example,
NoteNumber)
are presented in CSV. The default value is
null
which means note format will be resolved automatically.
Declaration
public CsvNoteFormat? NoteFormat { get; set; }
Property Value
Exceptions
Gets or sets a value that defines how the time of objects is presented in CSV.
The default value is
null
which means time format will be resolved automatically.
More info on the supported formats in the
Time and length article.
Declaration
public TimeSpanType? TimeType { get; set; }
Property Value
Exceptions
Gets or sets a value indicating how unknown records should be handled.
The default value is
Abort which means
the process will be aborted with an exception.
Declaration
public UnknownRecordPolicy UnknownRecordPolicy { get; set; }
Property Value
Exceptions
See Also