User Tools

Site Tools


thinkgeo.mapsuite.core.geoserializer

This is an old revision of the document!


ThinkGeo.MapSuite.Core.GeoSerializer

<!– Class –> This class serializes an object.

Inheritance Hierarchy

Members Summary

Public Constructors

Name Parameters DeclaringType Summary
Public MethodGeoSerializer Creates an instance of GeoSerializer.
Public MethodGeoSerializer GeoSerializationFormatter

Protected Constructors

Name Parameters DeclaringType Summary

Public Methods

Name Parameters DeclaringType Summary
Public MethodDeserialize String, FileAccess Recreates an object from a file.
Public MethodDeserialize Stream Recreates an object from a stream.
Public MethodDeserialize String Recreates an object from a string.
Public MethodDeserialize Uri Recreates an object from an Url.
Public MethodEquals Object Object
Public MethodGetHashCode Object
Public MethodGetType Object
Public MethodSerialize Object, String Serialize an object and save the serialized data to a file.
Public MethodSerialize Object, Stream Serialize an object and save the serialized data to a stream.
Public MethodSerialize Object Serialize an object and save the serialized data to a string.
Public MethodToString Object

Protected Methods

Name Parameters DeclaringType Summary
Protected MethodFinalize Object
Protected MethodMemberwiseClone Object

Public Properties

Name Return DeclaringType Summary
Public PropertyFormatter GeoSerializationFormatter Gets or sets the Formatter. The Formatter determines what kind of serialized data will be created.

Protected Properties

Name Return DeclaringType Summary

Public Events

Name Event Arguments DeclaringType Summary

Public Constructors

GeoSerializer()

Creates an instance of GeoSerializer.

Parameters

Name Type Description

Go Back

GeoSerializer(GeoSerializationFormatter)

Parameters

Name Type Description
formatter GeoSerializationFormatter<!– ThinkGeo.MapSuite.Core.GeoSerializationFormatter –>

Go Back

Protected Constructors

Public Methods

Deserialize(String, FileAccess)

Recreates an object from a file.

Return Value

Return Type Description
Object<!– System.Object –> The recreated object.

Parameters

Name Type Description
sourcePathFileName String<!– System.String –> The file path to deserialize from.
fileAccess FileAccess<!– System.IO.FileAccess –> The FileAccess

<!– ThinkGeo.MapSuite.Core.GeoSerializer –> Go Back

Deserialize(Stream)

Recreates an object from a stream.

Return Value

Return Type Description
Object<!– System.Object –> The recreated object.

Parameters

Name Type Description
sourceStream Stream<!– System.IO.Stream –> The Stream to deserialize from.

<!– ThinkGeo.MapSuite.Core.GeoSerializer –> Go Back

Deserialize(String)

Recreates an object from a string.

Return Value

Return Type Description
Object<!– System.Object –> The recreated object.

Parameters

Name Type Description
sourceString String<!– System.String –> The string to deserialize from.

<!– ThinkGeo.MapSuite.Core.GeoSerializer –> Go Back

Deserialize(Uri)

Recreates an object from an Url.

Return Value

Return Type Description
Object<!– System.Object –> The recreated object.

Parameters

Name Type Description
sourceUri Uri<!– System.Uri –> The Url to deserialize from.

<!– ThinkGeo.MapSuite.Core.GeoSerializer –> Go Back

Equals(Object)

Return Value

Return Type Description
Boolean<!– System.Boolean –>

Parameters

Name Type Description
obj Object<!– System.Object –>

<!– System.Object –> Go Back

GetHashCode()

Return Value

Return Type Description
Int32<!– System.Int32 –>

Parameters

Name Type Description

<!– System.Object –> Go Back

GetType()

Return Value

Return Type Description
Type<!– System.Type –>

Parameters

Name Type Description

<!– System.Object –> Go Back

Serialize(Object, String)

Serialize an object and save the serialized data to a file.

Return Value

Return Type Description
Void<!– System.Void –>

Parameters

Name Type Description
objectToSerialize Object<!– System.Object –> The object to be serialized.
targetPathFileName String<!– System.String –> The path to save the serialized data to.

<!– ThinkGeo.MapSuite.Core.GeoSerializer –> Go Back

Serialize(Object, Stream)

Serialize an object and save the serialized data to a stream.

Return Value

Return Type Description
Void<!– System.Void –>

Parameters

Name Type Description
objectToSerialize Object<!– System.Object –> The object to be serialized.
targetStream Stream<!– System.IO.Stream –> The stream to save the serialized data into.

<!– ThinkGeo.MapSuite.Core.GeoSerializer –> Go Back

Serialize(Object)

Serialize an object and save the serialized data to a string.

Return Value

Return Type Description
String<!– System.String –> The string that contains the serialized data.

Parameters

Name Type Description
objectToSerialize Object<!– System.Object –> The object to be serialized.

<!– ThinkGeo.MapSuite.Core.GeoSerializer –> Go Back

ToString()

Return Value

Return Type Description
String<!– System.String –>

Parameters

Name Type Description

<!– System.Object –> Go Back

Protected Methods

Finalize()

Return Value

Return Type Description
Void<!– System.Void –>

Parameters

Name Type Description

<!– System.Object –> Go Back

MemberwiseClone()

Return Value

Return Type Description
Object<!– System.Object –>

Parameters

Name Type Description

<!– System.Object –> Go Back

Public Properties

Formatter

Gets or sets the Formatter. The Formatter determines what kind of serialized data will be created.

Return Value

Return Type
GeoSerializationFormatter<!– ThinkGeo.MapSuite.Core.GeoSerializationFormatter –>

<!– ThinkGeo.MapSuite.Core.GeoSerializer –> Go Back

Protected Properties

Public Events

thinkgeo.mapsuite.core.geoserializer.1440040128.txt.gz · Last modified: 2015/09/17 09:02 (external edit)