TextSerializer assembly

TheCodingMonkey.Serialization namespace

public type description
class CsvField Contains configuration properties for a field/property that are specific to CSV files
class CsvSerializer<TTargetType> Used to serialize a TargetType object to a CSV file.
abstract class Field Class which contains the configuration details of a field/property that is created either using Attributes or Fluent Configuration
class FixedWidthField Contains configuration properties for a field/property that are specific to Fixed Width files
class FixedWidthFieldAttribute This attribute is applied to Fields or Properties of a class to control where in the fixed width file this field belongs.
class FixedWidthSerializer<TTargetType> Used to serialize a TargetType object to a CSV file.
class FormatEnumAttribute Controls how to format enumerations in a file, either String or Integer
interface ITextFormatter Interface which allows an object to be seralized/deserialized according to custom rules depending a given file format.
class TextFieldAttribute This attribute is applied to Fields or Properties of a class to control where in the CSV file this field belongs.
class TextSerializableAttribute This attribute must be applied to a class to be serialized, unless the Fluent Configuration model is used
class TextSerializationException Exception class for Text Serialization exceptions.
abstract class TextSerializer<TTargetType> Base class that contains common code for the CsvSerializer and FixedWidthSerializer class.

TheCodingMonkey.Serialization.Configuration namespace

public type description
class CsvConfiguration<TTargetType> Fluent Configuration class for the CsvSerializer class.
class CsvFieldConfiguration Fluent Configuration class used to configure fields and properties which are serialized using the CsvSerializer class.
class FixedWidthConfiguration<TTargetType> Fluent Configuration class for the FixedWidthSerializer class.
class FixedWidthFieldConfiguration Fluent Configuration class used to configure fields and properties which are serialized using the FixedWidthSerializer class.
abstract class TextConfiguration<TTargetType> Base class for Fluent Configuration classes
class TextSerializationConfigurationException Thrown if there is a problem detected during Fluent Configuration.

TheCodingMonkey.Serialization.Formatters namespace

public type description
class BooleanIntFormatter Formatter which allows serialization and deserialization of Booleans to Integer values in a file.
enum EnumOptions Used to control how Enumerations are serialized to files.