CsvSerializer<TTargetType> constructor (1 of 3)
Initializes a new instance of the CSVSerializer class with default values, using Attributes on the target type to determine the configuration of fields and properties.
public CsvSerializer()
See Also
- class CsvSerializer<TTargetType>
- namespace TheCodingMonkey.Serialization
CsvSerializer<TTargetType> constructor (2 of 3)
Initializes a new instance of the CSVSerializer class using Fluent configuration.
public CsvSerializer(Action<CsvConfiguration<TTargetType>> config)
parameter | description |
---|---|
config | Fluent configuration for the serializer. |
See Also
- class CsvConfiguration<TTargetType>
- class CsvSerializer<TTargetType>
- namespace TheCodingMonkey.Serialization
CsvSerializer<TTargetType> constructor (3 of 3)
Initializes a new instance of the CSVSerializer class with specific values for how the CSV should be formatted, using Attributes on the target type to determine the configuration of fields and properties.
public CsvSerializer(bool alwaysWriteQualifier, char delimiter, char qualifier)
parameter | description |
---|---|
alwaysWriteQualifier | True to always use qualifiers around all fields in the CSV. |
delimiter | The delimiter to use between CSV fields. |
qualifier | The qualifier character to use around the fields. |
See Also
- class CsvSerializer<TTargetType>
- namespace TheCodingMonkey.Serialization