Class SerialiserWrapper
Inherits XmlSerializer and uses manual Xml reader and writer.
Inheritance
System.Object
SerialiserWrapper
Namespace: Syncfusion.XmlSerializersCreator
Assembly: Syncfusion.Shared.Base.dll
Syntax
public class SerialiserWrapper : XmlSerializer
Constructors
SerialiserWrapper(XmlSerializationReader, XmlSerializationWriter)
Creates new instance of SerialiserWrapper.
Declaration
public SerialiserWrapper(XmlSerializationReader reader, XmlSerializationWriter writer)
Parameters
Type | Name | Description |
---|---|---|
System.Xml.Serialization.XmlSerializationReader | reader | Serialization reader. |
System.Xml.Serialization.XmlSerializationWriter | writer | Serialization writer. |
Methods
CreateReader()
Forces using of manual reader.
Declaration
protected override XmlSerializationReader CreateReader()
Returns
Type | Description |
---|---|
System.Xml.Serialization.XmlSerializationReader | Xml serialization reader to use. |
CreateWriter()
Forces using of manual writer.
Declaration
protected override XmlSerializationWriter CreateWriter()
Returns
Type | Description |
---|---|
System.Xml.Serialization.XmlSerializationWriter | Xml serialization writer to use. |
Deserialize(XmlSerializationReader)
Deserialization.
Declaration
protected override object Deserialize(XmlSerializationReader reader)
Parameters
Type | Name | Description |
---|---|---|
System.Xml.Serialization.XmlSerializationReader | reader |
Returns
Type |
---|
System.Object |
Serialize(Object, XmlSerializationWriter)
Serialization.
Declaration
protected override void Serialize(object o, XmlSerializationWriter writer)
Parameters
Type | Name | Description |
---|---|---|
System.Object | o | |
System.Xml.Serialization.XmlSerializationWriter | writer |