Interface IExtendedXmlCustomSerializer<T>
A strongly-typed v1 custom serializer.
Namespace: ExtendedXmlSerializer.ExtensionModel.Xml
Assembly: ExtendedXmlSerializer.dll
Syntax
public interface IExtendedXmlCustomSerializer<T>
Type Parameters
T
The type to serialize. |
Methods
Deserialize(XElement)
Deserializes the document subtree from the provided element into a new instance.
Declaration
T Deserialize(XElement xElement)
Parameters
System.Xml.Linq.XElement
xElement
The element subtree. |
Returns
T
An instance from the provided element subtree. |
Serializer(XmlWriter, T)
Serializes an instance.
Declaration
void Serializer(XmlWriter xmlWriter, T obj)
Parameters
System.Xml.XmlWriter
xmlWriter
The writer holding the destination document. |
T
obj
The instance to serialize. |