[]
        
(Showing Draft Content)

FarPoint.Web.Spread.Model.Serializer

Serializer Class

Represents the serializer object for opening from and saving to a file.

Inheritance
Serializer
Namespace: FarPoint.Web.Spread.Model
Assembly: FarPoint.Web.Spread.dll
Syntax
public class Serializer
Public Class Serializer

Constructors

Name Description
Serializer()

Methods

Name Description
CanSerializeObject(object)

Determines whether the specified object can be serialized to XML.

CloneNodeReader(XmlNodeReader)

Creates a copy of an XmlNodeReader without advancing the original.

CreateObjectInstanceAndDeserialize(XmlNodeReader, Type)

Creates an object serialized into a specified XML node reader of a specified type.

CreateObjectInstanceAndDeserialize(XmlNodeReader, Type, Type)

Creates an object serialized into a specified XML node reader of a specified type and interface.

CreateObjectInstanceAndDeserialize(XmlNodeReader, Type, Type, Assembly)

Creates an object serialized into a specified XML node reader of a specified type, interface, and calling assembly.

DecodeObject(string)

Decodes an object from a base64 string (inverse of EncodeObject).

DefaultDeserializeProp(object, object)

Deserializes the specified basic object saved with DefaultSerializeProp and returns the value.

DefaultSerializeProp(object)

Serializes the specified basic object and returns the string representation.

DeserializeByteArray(XmlNodeReader)

Deserializes an array of bytes from XML

DeserializeColorValue(string)

Converts a six-digit hexadecimal color value into a color object.

DeserializeDateTimeFormatInfo(XmlNodeReader)

Deserializes a DateTimeFormatInfo object from XML.

DeserializeDateValue(string)

Converts a date format string to a DateTime value.

DeserializeEnumValue(string, Type)

Deserializes an enumeration value of the specified type.

DeserializeFont(FontInfo, XmlNodeReader)

Deserializes the specified font information previously serialized.

DeserializeImage(string)

Creates an image from the specified serialized base-64 encoded string.

DeserializeIntArray(XmlNodeReader)

Deserializes an array of integers from XML

DeserializeNumberFormatInfo(XmlNodeReader)

Deserializes a NumberFormatInfo object from XML.

DeserializePointFArray(XmlNodeReader)

Deserializes an array of PointF objects from XML

DeserializeString(XmlNodeReader)

Deserializes a string from XML.

DeserializeString(XmlNodeReader, string)

Deserializes a string from XML.

DeserializeStringArray(XmlNodeReader)

Deserializes an array of strings from XML.

EncodeObject(object)

Encodes an object to a base64 string, if it is serializable.

ExtractNode(XmlNodeReader)

Extracts the current node in the specified node reader into a new node reader and advances that reader to the next node.

GetObjectXml(ISerializeSupport, string)

Serializes an object to an XML string.

GetObjectXml(ISerializeSupport, string, Assembly)

Serializes an object to an XML string.

GetObjectXml(ISerializeSupport2, string, Assembly, bool)

Serializes an object to an XML string.

IsDefaultValue(object, string, object)

Determines if the value of a specified property of an object is the default value.

LoadObject(Type, Stream, string)

Loads an object from a stream previously saved with Serializer.SaveObject.

LoadObject(Type, Stream, string, Assembly)

Loads an object from a stream previously saved with Serializer.SaveObject.

LoadObject(Type, string, string)

Loads an object from a file previously saved with Serializer.SaveObject.

LoadObject(Type, string, string, Assembly)

Loads an object from a file previously saved with Serializer.SaveObject.

LoadObjectXml(Type, string, string)

Creates and deserializes a new instance of an object saved with the GetObjectXml method.

LoadObjectXml(Type, string, string, Assembly)

Creates and deserializes a new instance of an object saved with the GetObjectXml method.

SaveObject(object, Stream, string)

Saves an object as XML to a stream.

SaveObject(object, string, string)

Saves an object as XML to a file.

SaveObject(object, Type, Stream, string)

Saves an object as XML to a stream using the specified serialization interface.

SaveObject(object, Type, Stream, string, Assembly)

Saves an object as XML to a stream using the specified serialization interface.

SaveObject(object, Type, string, string)

Saves an object as XML to a file using the specified serialization interface.

SaveObject(object, Type, string, string, Assembly)

Saves an object as XML to a file using the specified serialization interface.

SerializeByteArray(byte[], string, XmlTextWriter)

Serializes an array of bytes to XML.

SerializeColor(Color, string, XmlTextWriter)

Serializes a color to XML with the specified writer.

SerializeColorValue(Color)

Converts a color object into a color name (for example, Blue) or a six-digit hexadecimal color value (for example, #FFFFFF).

SerializeData(object, string, XmlTextWriter)

Serializes an object using the ISerializeData interface.

SerializeData(object, string, XmlTextWriter, bool)

Serializes an object using the ISerializeData interface.

SerializeDateTimeFormatInfo(DateTimeFormatInfo, string, XmlTextWriter)

Serializes a DateTimeFormatInfo object to XML.

SerializeDateValue(DateTime)

Converts a DataTime object to a date format string.

SerializeEnum(Enum, string, XmlTextWriter)

Serializes an enumeration value to XML with the specified writer.

SerializeFont(FontInfo, string, XmlTextWriter)

Serializes font information into XML with the specified writer.

SerializeFont(FontInfo, string, XmlTextWriter, bool)

Serializes font information into XML with the specified writer.

SerializeFontValue(object, XmlTextWriter)

Serializes a font to XML with the specified writer without writing element tags.

SerializeFontValue(object, XmlTextWriter, bool)

Serializes font information to XML with the specified writer and short XML name option without writing element tags.

SerializeImage(Image, string, XmlTextWriter)

Serializes an image to XML as a base-64 encoded string to a specified element with the specified writer.

SerializeIntArray(int[], string, XmlTextWriter)

Serializes an array of integers to XML.

SerializeNumberFormatInfo(NumberFormatInfo, string, XmlTextWriter)

Serializes a NumberFormatInfo object to XML.

SerializeObject(object, string, XmlTextWriter)

Serializes an object to XML using the ISerializeSupport interface.

SerializeObject(object, string, XmlTextWriter, Assembly)

Serializes an object to XML using the ISerializeSupport interface.

SerializeObject(object, Type, string, XmlTextWriter)

Serializes an object to XML using the ISerializeSupport interface.

SerializeObject(object, Type, string, XmlTextWriter, Assembly)

Serializes an object to XML using the ISerializeSupport interface.

SerializeObject(object, Type, string, XmlTextWriter, Assembly, object[])

Serializes an object to XML using the ISerializeSupport interface.

SerializeObject(object, Type, string, XmlTextWriter, Assembly, object[], bool)

Serializes an object to XML using the ISerializeSupport interface.

SerializePointFArray(PointF[], string, XmlTextWriter)

Serializes an array of PointF points to XML.

SerializePresentation(object, string, XmlTextWriter)

Serializes an object using the ISerializePresentation interface.

SerializeSettings(object, string, XmlTextWriter)

Serializes an object using the ISerializeSettings interface.

SerializeString(string, string, XmlTextWriter)

Serializes a string to XML.

SerializeStringArray(string[], string, XmlTextWriter)

Serializes an array of strings to XML.

SerializeStyles(object, string, XmlTextWriter)

Serializes an object using the ISerializeStyles interface.

SetObjectXml(ISerializeSupport, string, string)

Deserializes an object saved with the GetObjectXml method using the specified XML string.