Table of Contents

Formatter<TFormat> Class

Definition

An abstract class that supports serialization and deserialization of an object, in a given format.

public abstract class Formatter<TFormat>

Type Parameters

TFormat

The type of format which serialization and deserialization is invoked.

Inheritance
Formatter<TFormat>
Derived

Constructors

Name Description
Formatter()

Initializes a new instance of the Formatter<TFormat> class.

Methods

Name Description
Deserialize(TFormat, Type)

Deserializes the specified value of TFormat into an object of objectType.

Deserialize<T>(TFormat)

Deserializes the specified value of TFormat into an object of T.

Serialize(object)

Serializes the specified source to an object of TFormat.

Serialize(object, Type)

Serializes the object of this instance to an object of TFormat.