FixedWidthFieldConfiguration class

Fluent Configuration class used to configure fields and properties which are serialized using the FixedWidthSerializer class.

public class FixedWidthFieldConfiguration

Public Members

name description
FormatEnum(…) For fields which are enumerations, controls how they are serialized and deserialized, either using the String representation or the Integer representation.
FormatterType(…) Optional class which is used to control custom serialization/deserialization of this field. This class must implement the ITextFormatter interface.
Optional(…) Determines whether this field is optional. Because of the nature of CSV and FixedWidth file formats, optional fields should only be a the end of the record.
Padding(…) Position (column) where this field is serialized in the CSV file.
Position(…) Position (column) where this field is serialized in the CSV file.
Size(…) Maximum length in the CSV file that this field should take up.

See Also