Interface ISerializer
A baseline XML-based serializer.
Namespace: ExtendedXmlSerializer.ExtensionModel.Xml
Assembly: ExtendedXmlSerializer.dll
Syntax
public interface ISerializer
Methods
Deserialize(XmlReader)
Performs a read operation over the provided document source and resolves an object instance from it.
Declaration
object Deserialize(XmlReader reader)
Parameters
System.Xml.XmlReader
reader
The reader that represents the document source. |
Returns
System.Object
The instance that is represented by the document. |
Serialize(XmlWriter, Object)
Performance a write operation with the provided object instance, and saves it to the destination, represented by the provided writer.
Declaration
void Serialize(XmlWriter writer, object instance)
Parameters
System.Xml.XmlWriter
writer
The destination writer. |
System.Object
instance
The source instance. |