User Tools

Site Tools


thinkgeo.mapsuite.core.geoserializer

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
thinkgeo.mapsuite.core.geoserializer [2015/08/20 03:08]
127.0.0.1 external edit
— (current)
Line 1: Line 1:
-====== ThinkGeo.MapSuite.Core.GeoSerializer ====== 
- 
- 
- 
-<!-- Class --> 
-This class serializes an object. 
-===== Inheritance Hierarchy ===== 
-*System.Object 
-**[[ThinkGeo.MapSuite.Core.GeoSerializer]] 
-===== Members Summary ===== 
-==== Public Constructors ==== 
-^ Name ^ Parameters ^ DeclaringType ^ Summary ^ 
-| {{wiki:​PublicMethod.gif|Public Method}}[[#​GeoSerializer()|GeoSerializer]] ​  ​| ​   |    | Creates an instance of GeoSerializer. ​  | 
-| {{wiki:​PublicMethod.gif|Public Method}}[[#​GeoSerializer(GeoSerializationFormatter)|GeoSerializer]] ​  | [[ThinkGeo.MapSuite.Core.GeoSerializationFormatter|GeoSerializationFormatter]] ​  ​| ​   |    | 
- 
-==== Protected Constructors ==== 
-^ Name ^ Parameters ^ DeclaringType ^ Summary ^ 
- 
-==== Public Methods ==== 
-^ Name ^ Parameters ^ DeclaringType ^ Summary ^ 
-| {{wiki:​PublicMethod.gif|Public Method}}[[#​Deserialize(String,​ FileAccess)|Deserialize]] ​  | String, FileAccess ​  ​| ​   | Recreates an object from a file.   | 
-| {{wiki:​PublicMethod.gif|Public Method}}[[#​Deserialize(Stream)|Deserialize]] ​  | Stream ​  ​| ​   | Recreates an object from a stream. ​  | 
-| {{wiki:​PublicMethod.gif|Public Method}}[[#​Deserialize(String)|Deserialize]] ​  | String ​  ​| ​   | Recreates an object from a string. ​  | 
-| {{wiki:​PublicMethod.gif|Public Method}}[[#​Deserialize(Uri)|Deserialize]] ​  | Uri   ​| ​   | Recreates an object from an Url.   | 
-| {{wiki:​PublicMethod.gif|Public Method}}[[#​Equals(Object)|Equals]] ​  | Object ​  | Object ​  ​| ​   | 
-| {{wiki:​PublicMethod.gif|Public Method}}[[#​GetHashCode()|GetHashCode]] ​  ​| ​   | Object ​  ​| ​   | 
-| {{wiki:​PublicMethod.gif|Public Method}}[[#​GetType()|GetType]] ​  ​| ​   | Object ​  ​| ​   | 
-| {{wiki:​PublicMethod.gif|Public Method}}[[#​Serialize(Object,​ String)|Serialize]] ​  | Object, String ​  ​| ​   | Serialize an object and save the serialized data to a file.   | 
-| {{wiki:​PublicMethod.gif|Public Method}}[[#​Serialize(Object,​ Stream)|Serialize]] ​  | Object, Stream ​  ​| ​   | Serialize an object and save the serialized data to a stream. ​  | 
-| {{wiki:​PublicMethod.gif|Public Method}}[[#​Serialize(Object)|Serialize]] ​  | Object ​  ​| ​   | Serialize an object and save the serialized data to a string. ​  | 
-| {{wiki:​PublicMethod.gif|Public Method}}[[#​ToString()|ToString]] ​  ​| ​   | Object ​  ​| ​   | 
- 
-==== Protected Methods ==== 
-^ Name ^ Parameters ^ DeclaringType ^ Summary ^ 
-| {{wiki:​ProtectedMethod.gif|Protected Method}}[[#​Finalize()|Finalize]] ​  ​| ​   | Object ​  ​| ​   | 
-| {{wiki:​ProtectedMethod.gif|Protected Method}}[[#​MemberwiseClone()|MemberwiseClone]] ​  ​| ​   | Object ​  ​| ​   | 
- 
-==== Public Properties ==== 
-^ Name ^ Return ^ DeclaringType ^ Summary ^ 
-| {{wiki:​PublicProperty.gif|Public Property}}[[#​Formatter|Formatter]] ​  | [[ThinkGeo.MapSuite.Core.GeoSerializationFormatter|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 ^ 
- 
-[[#Public Constructors|Go Back]] 
-==== GeoSerializer(GeoSerializationFormatter) ==== 
-=== Parameters === 
-^  Name ^  Type ^  Description ^ 
-| formatter ​  | [[ThinkGeo.MapSuite.Core.GeoSerializationFormatter|GeoSerializationFormatter]]<​!-- ThinkGeo.MapSuite.Core.GeoSerializationFormatter --> ​  ​| ​   | 
- 
-[[#Public Constructors|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 --> 
-[[#Public Methods|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 --> 
-[[#Public Methods|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 --> 
-[[#Public Methods|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 --> 
-[[#Public Methods|Go Back]] 
-==== Equals(Object) ==== 
-=== Return Value === 
-^ Return Type ^ Description ^ 
-| Boolean<​!-- System.Boolean --> ​  ​| ​   | 
- 
-=== Parameters === 
-^  Name ^  Type ^  Description ^ 
-| obj   | Object<​!-- System.Object --> ​  ​| ​   | 
- 
-<!-- System.Object --> 
-[[#Public Methods|Go Back]] 
-==== GetHashCode() ==== 
-=== Return Value === 
-^ Return Type ^ Description ^ 
-| Int32<​!-- System.Int32 --> ​  ​| ​   | 
- 
-=== Parameters === 
-^  Name ^  Type ^  Description ^ 
- 
-<!-- System.Object --> 
-[[#Public Methods|Go Back]] 
-==== GetType() ==== 
-=== Return Value === 
-^ Return Type ^ Description ^ 
-| Type<!-- System.Type --> ​  ​| ​   | 
- 
-=== Parameters === 
-^  Name ^  Type ^  Description ^ 
- 
-<!-- System.Object --> 
-[[#Public Methods|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 --> 
-[[#Public Methods|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 --> 
-[[#Public Methods|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 --> 
-[[#Public Methods|Go Back]] 
-==== ToString() ==== 
-=== Return Value === 
-^ Return Type ^ Description ^ 
-| String<​!-- System.String --> ​  ​| ​   | 
- 
-=== Parameters === 
-^  Name ^  Type ^  Description ^ 
- 
-<!-- System.Object --> 
-[[#Public Methods|Go Back]] 
-===== Protected Methods ===== 
-==== Finalize() ==== 
-=== Return Value === 
-^ Return Type ^ Description ^ 
-| Void<!-- System.Void --> ​  ​| ​   | 
- 
-=== Parameters === 
-^  Name ^  Type ^  Description ^ 
- 
-<!-- System.Object --> 
-[[#​Protected Methods|Go Back]] 
-==== MemberwiseClone() ==== 
-=== Return Value === 
-^ Return Type ^ Description ^ 
-| Object<​!-- System.Object --> ​  ​| ​   | 
- 
-=== Parameters === 
-^  Name ^  Type ^  Description ^ 
- 
-<!-- System.Object --> 
-[[#​Protected Methods|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 ^ 
-| [[ThinkGeo.MapSuite.Core.GeoSerializationFormatter|GeoSerializationFormatter]]<​!-- ThinkGeo.MapSuite.Core.GeoSerializationFormatter --> ​  | 
- 
-<!-- ThinkGeo.MapSuite.Core.GeoSerializer --> 
-[[#Public Properties|Go Back]] 
-===== Protected Properties ===== 
-===== Public Events ===== 
-__NOTOC__ 
-[[Category:​MapSuiteCore]] 
-[[Category:​ThinkGeo.MapSuite.Core]] 
-[[Category:​UpdateDocumentation]] 
  
thinkgeo.mapsuite.core.geoserializer.1440040128.txt.gz ยท Last modified: 2015/09/17 09:02 (external edit)