This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
|
thinkgeo.mapsuite.core.geoserializer [2015/09/17 10:30] admin |
— (current) | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | ====== ThinkGeo.MapSuite.Core.GeoSerializer ====== | ||
| - | This class serializes an object. | ||
| - | ===== Inheritance Hierarchy ===== | ||
| - | *System.Object | ||
| - | ***ThinkGeo.MapSuite.Core.GeoSerializer** | ||
| - | ===== Members Summary ===== | ||
| - | === Public Constructors === | ||
| - | <div class_table> | ||
| - | **{{wiki:PublicMethod.gif|}}[[#GeoSerializer()|GeoSerializer]]** | ||
| - | * **Parameters**:N/A | ||
| - | * **DeclaringType**:N/A | ||
| - | * **Summary**:Creates an instance of GeoSerializer. | ||
| - | </div> | ||
| - | |||
| - | <div class_table> | ||
| - | **{{wiki:PublicMethod.gif|}}[[#GeoSerializer(GeoSerializationFormatter)|GeoSerializer]]** | ||
| - | * **Parameters**:[[ThinkGeo.MapSuite.Core.GeoSerializationFormatter|GeoSerializationFormatter]] | ||
| - | * **DeclaringType**:N/A | ||
| - | * **Summary**:N/A | ||
| - | </div> | ||
| - | |||
| - | === Protected Constructors === | ||
| - | === Public Methods === | ||
| - | <div class_table> | ||
| - | **{{wiki:PublicMethod.gif|}}[[#Deserialize(String,FileAccess)|Deserialize]]** | ||
| - | * **Parameters**:String,FileAccess | ||
| - | * **DeclaringType**:N/A | ||
| - | * **Summary**:Recreates an object from a file. | ||
| - | </div> | ||
| - | |||
| - | <div class_table> | ||
| - | **{{wiki:PublicMethod.gif|}}[[#Deserialize(Stream)|Deserialize]]** | ||
| - | * **Parameters**:Stream | ||
| - | * **DeclaringType**:N/A | ||
| - | * **Summary**:Recreates an object from a stream. | ||
| - | </div> | ||
| - | |||
| - | <div class_table> | ||
| - | **{{wiki:PublicMethod.gif|}}[[#Deserialize(String)|Deserialize]]** | ||
| - | * **Parameters**:String | ||
| - | * **DeclaringType**:N/A | ||
| - | * **Summary**:Recreates an object from a string. | ||
| - | </div> | ||
| - | |||
| - | <div class_table> | ||
| - | **{{wiki:PublicMethod.gif|}}[[#Deserialize(Uri)|Deserialize]]** | ||
| - | * **Parameters**:Uri | ||
| - | * **DeclaringType**:N/A | ||
| - | * **Summary**:Recreates an object from an Url. | ||
| - | </div> | ||
| - | |||
| - | <div class_table> | ||
| - | **{{wiki:PublicMethod.gif|}}[[#Equals(Object)|Equals]]** | ||
| - | * **Parameters**:Object | ||
| - | * **DeclaringType**:Object | ||
| - | * **Summary**:N/A | ||
| - | </div> | ||
| - | |||
| - | <div class_table> | ||
| - | **{{wiki:PublicMethod.gif|}}[[#GetHashCode()|GetHashCode]]** | ||
| - | * **Parameters**:N/A | ||
| - | * **DeclaringType**:Object | ||
| - | * **Summary**:N/A | ||
| - | </div> | ||
| - | |||
| - | <div class_table> | ||
| - | **{{wiki:PublicMethod.gif|}}[[#GetType()|GetType]]** | ||
| - | * **Parameters**:N/A | ||
| - | * **DeclaringType**:Object | ||
| - | * **Summary**:N/A | ||
| - | </div> | ||
| - | |||
| - | <div class_table> | ||
| - | **{{wiki:PublicMethod.gif|}}[[#Serialize(Object,String)|Serialize]]** | ||
| - | * **Parameters**:Object,String | ||
| - | * **DeclaringType**:N/A | ||
| - | * **Summary**:Serialize an object and save the serialized data to a file. | ||
| - | </div> | ||
| - | |||
| - | <div class_table> | ||
| - | **{{wiki:PublicMethod.gif|}}[[#Serialize(Object,Stream)|Serialize]]** | ||
| - | * **Parameters**:Object,Stream | ||
| - | * **DeclaringType**:N/A | ||
| - | * **Summary**:Serialize an object and save the serialized data to a stream. | ||
| - | </div> | ||
| - | |||
| - | <div class_table> | ||
| - | **{{wiki:PublicMethod.gif|}}[[#Serialize(Object)|Serialize]]** | ||
| - | * **Parameters**:Object | ||
| - | * **DeclaringType**:N/A | ||
| - | * **Summary**:Serialize an object and save the serialized data to a string. | ||
| - | </div> | ||
| - | |||
| - | <div class_table> | ||
| - | **{{wiki:PublicMethod.gif|}}[[#ToString()|ToString]]** | ||
| - | * **Parameters**:N/A | ||
| - | * **DeclaringType**:Object | ||
| - | * **Summary**:N/A | ||
| - | </div> | ||
| - | |||
| - | === Protected Methods === | ||
| - | <div class_table> | ||
| - | **{{wiki:ProtectedMethod.gif|}}[[#Finalize()|Finalize]]** | ||
| - | * **Parameters**:N/A | ||
| - | * **DeclaringType**:Object | ||
| - | * **Summary**:N/A | ||
| - | </div> | ||
| - | |||
| - | <div class_table> | ||
| - | **{{wiki:ProtectedMethod.gif|}}[[#MemberwiseClone()|MemberwiseClone]]** | ||
| - | * **Parameters**:N/A | ||
| - | * **DeclaringType**:Object | ||
| - | * **Summary**:N/A | ||
| - | </div> | ||
| - | |||
| - | === Public Properties === | ||
| - | **{{wiki:PublicProperty.gif|}}[[#Formatter|Formatter]]** | ||
| - | * **Return**:[[ThinkGeo.MapSuite.Core.GeoSerializationFormatter|GeoSerializationFormatter]] | ||
| - | * **Summary**:Gets or sets the Formatter. The Formatter determines what kind of serialized data will be created. | ||
| - | |||
| - | === Protected Properties === | ||
| - | === Public Events === | ||
| - | ===== Public Constructors ===== | ||
| - | === GeoSerializer() === | ||
| - | Creates an instance of GeoSerializer. | ||
| - | ==== Remarks ==== | ||
| - | N/A | ||
| - | ==== Parameters ==== | ||
| - | [[#Public Constructors|Go Back]] | ||
| - | === GeoSerializer(GeoSerializationFormatter) === | ||
| - | N/A | ||
| - | ==== Remarks ==== | ||
| - | N/A | ||
| - | ==== Parameters ==== | ||
| - | **formatter** | ||
| - | * **Type**:[[ThinkGeo.MapSuite.Core.GeoSerializationFormatter|GeoSerializationFormatter]] | ||
| - | * **Description:N/A | ||
| - | |||
| - | [[#Public Constructors|Go Back]] | ||
| - | ===== Protected Constructors ===== | ||
| - | ===== Public Methods ===== | ||
| - | === Deserialize(String,FileAccess) === | ||
| - | Recreates an object from a file. | ||
| - | ==== Remarks ==== | ||
| - | N/A | ||
| - | |||
| - | **Return Value** | ||
| - | * **Return Type**:Object | ||
| - | * **Description**:The recreated object. | ||
| - | |||
| - | ==== Parameters ==== | ||
| - | **sourcePathFileName** | ||
| - | * **Type**:String | ||
| - | * **Description**:The file path to deserialize from. | ||
| - | |||
| - | **fileAccess** | ||
| - | * **Type**:FileAccess | ||
| - | * **Description**:The FileAccess | ||
| - | |||
| - | [[#Public Methods|Go Back]] | ||
| - | === Deserialize(Stream) === | ||
| - | Recreates an object from a stream. | ||
| - | ==== Remarks ==== | ||
| - | N/A | ||
| - | |||
| - | **Return Value** | ||
| - | * **Return Type**:Object | ||
| - | * **Description**:The recreated object. | ||
| - | |||
| - | ==== Parameters ==== | ||
| - | **sourceStream** | ||
| - | * **Type**:Stream | ||
| - | * **Description**:The Stream to deserialize from. | ||
| - | |||
| - | [[#Public Methods|Go Back]] | ||
| - | === Deserialize(String) === | ||
| - | Recreates an object from a string. | ||
| - | ==== Remarks ==== | ||
| - | N/A | ||
| - | |||
| - | **Return Value** | ||
| - | * **Return Type**:Object | ||
| - | * **Description**:The recreated object. | ||
| - | |||
| - | ==== Parameters ==== | ||
| - | **sourceString** | ||
| - | * **Type**:String | ||
| - | * **Description**:The string to deserialize from. | ||
| - | |||
| - | [[#Public Methods|Go Back]] | ||
| - | === Deserialize(Uri) === | ||
| - | Recreates an object from an Url. | ||
| - | ==== Remarks ==== | ||
| - | N/A | ||
| - | |||
| - | **Return Value** | ||
| - | * **Return Type**:Object | ||
| - | * **Description**:The recreated object. | ||
| - | |||
| - | ==== Parameters ==== | ||
| - | **sourceUri** | ||
| - | * **Type**:Uri | ||
| - | * **Description**:The Url to deserialize from. | ||
| - | |||
| - | [[#Public Methods|Go Back]] | ||
| - | === Equals(Object) === | ||
| - | N/A | ||
| - | ==== Remarks ==== | ||
| - | N/A | ||
| - | |||
| - | **Return Value** | ||
| - | * **Return Type**:Boolean | ||
| - | * **Description**:N/A | ||
| - | |||
| - | ==== Parameters ==== | ||
| - | **obj** | ||
| - | * **Type**:Object | ||
| - | * **Description**:N/A | ||
| - | |||
| - | [[#Public Methods|Go Back]] | ||
| - | === GetHashCode() === | ||
| - | N/A | ||
| - | ==== Remarks ==== | ||
| - | N/A | ||
| - | |||
| - | **Return Value** | ||
| - | * **Return Type**:Int32 | ||
| - | * **Description**:N/A | ||
| - | |||
| - | ==== Parameters ==== | ||
| - | [[#Public Methods|Go Back]] | ||
| - | === GetType() === | ||
| - | N/A | ||
| - | ==== Remarks ==== | ||
| - | N/A | ||
| - | |||
| - | **Return Value** | ||
| - | * **Return Type**:Type | ||
| - | * **Description**:N/A | ||
| - | |||
| - | ==== Parameters ==== | ||
| - | [[#Public Methods|Go Back]] | ||
| - | === Serialize(Object,String) === | ||
| - | Serialize an object and save the serialized data to a file. | ||
| - | ==== Remarks ==== | ||
| - | N/A | ||
| - | |||
| - | **Return Value** | ||
| - | * **Return Type**:Void | ||
| - | * **Description**:N/A | ||
| - | |||
| - | ==== Parameters ==== | ||
| - | **objectToSerialize** | ||
| - | * **Type**:Object | ||
| - | * **Description**:The object to be serialized. | ||
| - | |||
| - | **targetPathFileName** | ||
| - | * **Type**:String | ||
| - | * **Description**:The path to save the serialized data to. | ||
| - | |||
| - | [[#Public Methods|Go Back]] | ||
| - | === Serialize(Object,Stream) === | ||
| - | Serialize an object and save the serialized data to a stream. | ||
| - | ==== Remarks ==== | ||
| - | N/A | ||
| - | |||
| - | **Return Value** | ||
| - | * **Return Type**:Void | ||
| - | * **Description**:N/A | ||
| - | |||
| - | ==== Parameters ==== | ||
| - | **objectToSerialize** | ||
| - | * **Type**:Object | ||
| - | * **Description**:The object to be serialized. | ||
| - | |||
| - | **targetStream** | ||
| - | * **Type**:Stream | ||
| - | * **Description**:The stream to save the serialized data into. | ||
| - | |||
| - | [[#Public Methods|Go Back]] | ||
| - | === Serialize(Object) === | ||
| - | Serialize an object and save the serialized data to a string. | ||
| - | ==== Remarks ==== | ||
| - | N/A | ||
| - | |||
| - | **Return Value** | ||
| - | * **Return Type**:String | ||
| - | * **Description**:The string that contains the serialized data. | ||
| - | |||
| - | ==== Parameters ==== | ||
| - | **objectToSerialize** | ||
| - | * **Type**:Object | ||
| - | * **Description**:The object to be serialized. | ||
| - | |||
| - | [[#Public Methods|Go Back]] | ||
| - | === ToString() === | ||
| - | N/A | ||
| - | ==== Remarks ==== | ||
| - | N/A | ||
| - | |||
| - | **Return Value** | ||
| - | * **Return Type**:String | ||
| - | * **Description**:N/A | ||
| - | |||
| - | ==== Parameters ==== | ||
| - | [[#Public Methods|Go Back]] | ||
| - | ===== Protected Methods ===== | ||
| - | === Finalize() === | ||
| - | N/A | ||
| - | ==== Remarks ==== | ||
| - | N/A | ||
| - | |||
| - | **Return Value** | ||
| - | * **Return Type**:Void | ||
| - | * **Description**:N/A | ||
| - | |||
| - | ==== Parameters ==== | ||
| - | [[#Protected Methods|Go Back]] | ||
| - | === MemberwiseClone() === | ||
| - | N/A | ||
| - | ==== Remarks ==== | ||
| - | N/A | ||
| - | |||
| - | **Return Value** | ||
| - | * **Return Type**:Object | ||
| - | * **Description**:N/A | ||
| - | |||
| - | ==== Parameters ==== | ||
| - | [[#Protected Methods|Go Back]] | ||
| - | ===== Public Properties ===== | ||
| - | === Formatter === | ||
| - | Gets or sets the Formatter. The Formatter determines what kind of serialized data will be created. | ||
| - | ==== Remarks ==== | ||
| - | N/A | ||
| - | ==== Return Value ==== | ||
| - | **Return Type**:[[ThinkGeo.MapSuite.Core.GeoSerializationFormatter|GeoSerializationFormatter]] | ||
| - | |||
| - | [[#Public Properties|Go Back]] | ||
| - | ===== Protected Properties ===== | ||
| - | ===== Public Events ===== | ||
8501 Wade Blvd Ste 550
Frisco, TX 75034
United States
sales@thinkgeo.com
1-785-727-4133
Online Store
- Desktop
WPF
WinForms
- Web
WebAPI HTML5/JavaScript
ASP.NET MVC
WebForms with AJAX
- Mobile
iOS
Android™
World Street
World Imagery
Routing
Geocoding
Reverse Geocoding
Elevation
Quick Start Guides
Documentation
Blogs
Discussion Forums
Customer Portal
About Us
News & Announcemets
Privacy Policy
Copyright 2003-2017 ThinkGeo LLC.
All rights reserved.