User Tools

Site Tools


thinkgeo.mapsuite.core.geoserializationformatter

This is an old revision of the document!


ThinkGeo.MapSuite.Core.GeoSerializationFormatter

<!– Class –> This class formats a GeoObjectModel into serialized data.

Inheritance Hierarchy

Members Summary

Public Constructors

Name Parameters DeclaringType Summary

Protected Constructors

Name Parameters DeclaringType Summary
Protected MethodGeoSerializationFormatter Creates an instance of GeoSerializationFormatter.

Public Methods

Name Parameters DeclaringType Summary
Public MethodEquals Object Object
Public MethodGetHashCode Object
Public MethodGetType Object
Public MethodLoad Stream Load a stream into a GeoObjectModel.
Public MethodSave GeoObjectModel, Stream Save serialized data into a stream.
Public MethodToString Object

Protected Methods

Name Parameters DeclaringType Summary
Protected MethodFinalize Object
Protected MethodLoadCore Stream Load a stream into a GeoObjectModel.
Protected MethodMemberwiseClone Object
Protected MethodSaveCore GeoObjectModel, Stream Format a GeoObjectModel into serialized data, and save the data into a stream.

Public Properties

Name Return DeclaringType Summary
Public PropertyEncoding Encoding set or get the readEncoding.

Protected Properties

Name Return DeclaringType Summary

Public Events

Name Event Arguments DeclaringType Summary

Public Constructors

Protected Constructors

GeoSerializationFormatter()

Creates an instance of GeoSerializationFormatter.

Parameters

Name Type Description

Go Back

Public Methods

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

Load(Stream)

Load a stream into a GeoObjectModel.

Return Value

Return Type Description
GeoObjectModel<!– ThinkGeo.MapSuite.Core.GeoObjectModel –> The GeoObjectModel recreated from the stream.

Parameters

Name Type Description
stream Stream<!– System.IO.Stream –> The Stream to load from.

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

Save(GeoObjectModel, Stream)

Save serialized data into a stream.

Return Value

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

Parameters

Name Type Description
model GeoObjectModel<!– ThinkGeo.MapSuite.Core.GeoObjectModel –> The GeoObjectModel to create serialized data for.
stream Stream<!– System.IO.Stream –> The Stream to save serialized data into.

<!– ThinkGeo.MapSuite.Core.GeoSerializationFormatter –> 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

LoadCore(Stream)

Load a stream into a GeoObjectModel.

Return Value

Return Type Description
GeoObjectModel<!– ThinkGeo.MapSuite.Core.GeoObjectModel –> The GeoObjectModel recreated from the stream.

Parameters

Name Type Description
stream Stream<!– System.IO.Stream –> The Stream to load from.

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

MemberwiseClone()

Return Value

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

Parameters

Name Type Description

<!– System.Object –> Go Back

SaveCore(GeoObjectModel, Stream)

Format a GeoObjectModel into serialized data, and save the data into a stream.

Return Value

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

Parameters

Name Type Description
model GeoObjectModel<!– ThinkGeo.MapSuite.Core.GeoObjectModel –> The GeoObjectModel to create serialized data for.
stream Stream<!– System.IO.Stream –> The Stream to save serialized data into.

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

Public Properties

Encoding

set or get the readEncoding.

Return Value

Return Type
Encoding<!– System.Text.Encoding –>

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

Protected Properties

Public Events

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