ThinkGeo Cloud
ThinkGeo UI Controls
ThinkGeo Open Source
Help and Support
External Resources
ThinkGeo Cloud
ThinkGeo UI Controls
ThinkGeo Open Source
Help and Support
External Resources
This is an old revision of the document!
<!– Class –> This class serializes an object.
*System.Object **ThinkGeo.MapSuite.Core.GeoSerializer
Name | Parameters | DeclaringType | Summary |
---|---|---|---|
![]() | Creates an instance of GeoSerializer. | ||
![]() | GeoSerializationFormatter |
Name | Parameters | DeclaringType | Summary |
---|
Name | Parameters | DeclaringType | Summary |
---|---|---|---|
![]() | String, FileAccess | Recreates an object from a file. | |
![]() | Stream | Recreates an object from a stream. | |
![]() | String | Recreates an object from a string. | |
![]() | Uri | Recreates an object from an Url. | |
![]() | Object | Object | |
![]() | Object | ||
![]() | Object | ||
![]() | Object, String | Serialize an object and save the serialized data to a file. | |
![]() | Object, Stream | Serialize an object and save the serialized data to a stream. | |
![]() | Object | Serialize an object and save the serialized data to a string. | |
![]() | Object |
Name | Parameters | DeclaringType | Summary |
---|---|---|---|
![]() | Object | ||
![]() | Object |
Name | Return | DeclaringType | Summary |
---|---|---|---|
![]() | GeoSerializationFormatter | Gets or sets the Formatter. The Formatter determines what kind of serialized data will be created. |
Name | Return | DeclaringType | Summary |
---|
Name | Event Arguments | DeclaringType | Summary |
---|
Creates an instance of GeoSerializer.
Name | Type | Description |
---|
Name | Type | Description |
---|---|---|
formatter | GeoSerializationFormatter<!– ThinkGeo.MapSuite.Core.GeoSerializationFormatter –> |
Recreates an object from a file.
Return Type | Description |
---|---|
Object<!– System.Object –> | The recreated object. |
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
Recreates an object from a stream.
Return Type | Description |
---|---|
Object<!– System.Object –> | The recreated object. |
Name | Type | Description |
---|---|---|
sourceStream | Stream<!– System.IO.Stream –> | The Stream to deserialize from. |
<!– ThinkGeo.MapSuite.Core.GeoSerializer –> Go Back
Recreates an object from a string.
Return Type | Description |
---|---|
Object<!– System.Object –> | The recreated object. |
Name | Type | Description |
---|---|---|
sourceString | String<!– System.String –> | The string to deserialize from. |
<!– ThinkGeo.MapSuite.Core.GeoSerializer –> Go Back
Recreates an object from an Url.
Return Type | Description |
---|---|
Object<!– System.Object –> | The recreated object. |
Name | Type | Description |
---|---|---|
sourceUri | Uri<!– System.Uri –> | The Url to deserialize from. |
<!– ThinkGeo.MapSuite.Core.GeoSerializer –> Go Back
Return Type | Description |
---|---|
Boolean<!– System.Boolean –> |
Name | Type | Description |
---|---|---|
obj | Object<!– System.Object –> |
<!– System.Object –> Go Back
Return Type | Description |
---|---|
Int32<!– System.Int32 –> |
Name | Type | Description |
---|
<!– System.Object –> Go Back
Return Type | Description |
---|---|
Type<!– System.Type –> |
Name | Type | Description |
---|
<!– System.Object –> Go Back
Serialize an object and save the serialized data to a file.
Return Type | Description |
---|---|
Void<!– System.Void –> |
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 an object and save the serialized data to a stream.
Return Type | Description |
---|---|
Void<!– System.Void –> |
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 an object and save the serialized data to a string.
Return Type | Description |
---|---|
String<!– System.String –> | The string that contains the serialized data. |
Name | Type | Description |
---|---|---|
objectToSerialize | Object<!– System.Object –> | The object to be serialized. |
<!– ThinkGeo.MapSuite.Core.GeoSerializer –> Go Back
Return Type | Description |
---|---|
String<!– System.String –> |
Name | Type | Description |
---|
<!– System.Object –> Go Back
Return Type | Description |
---|---|
Void<!– System.Void –> |
Name | Type | Description |
---|
<!– System.Object –> Go Back
Return Type | Description |
---|---|
Object<!– System.Object –> |
Name | Type | Description |
---|
<!– System.Object –> Go Back
Gets or sets the Formatter. The Formatter determines what kind of serialized data will be created.
Return Type |
---|
GeoSerializationFormatter<!– ThinkGeo.MapSuite.Core.GeoSerializationFormatter –> |
<!– ThinkGeo.MapSuite.Core.GeoSerializer –> Go Back