Click or drag to resize

DataContractXmlStringSerializer Class

Serializes data to XML using the DataContractSerializer.
Inheritance Hierarchy

Namespace:  Eneter.Messaging.DataProcessing.Serializing
Assembly:  Eneter.Messaging.Framework (in Eneter.Messaging.Framework.dll) Version: (
public class DataContractXmlStringSerializer : ISerializer

The DataContractXmlStringSerializer type exposes the following members.

Public methodDataContractXmlStringSerializer
Creates the serializer based on DataContractSerializer with default settings.
Public methodDataContractXmlStringSerializer(FuncType, XmlObjectSerializer)
Creates the serializer that allows user to specify his own method to instantiate DataContractSerializer with desired settings.
Public methodDeserialize_T
Deserializes data into the specified type.
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodSerialize_T
Serializes data to the xml string.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
The serializer is based on DataContractSerializer provided by .Net and it supports attributes (DataContract, DataMember, ...) specifying how data is serialized/deserialized.
See Also