User Tools

Site Tools


thinkgeo.mapsuite.mvcedition.servercache

Differences

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

Link to this comparison view

Next revision
Previous revision
thinkgeo.mapsuite.mvcedition.servercache [2015/08/20 03:08]
127.0.0.1 external edit
— (current)
Line 1: Line 1:
-====== ThinkGeo.MapSuite.MvcEdition.ServerCache ====== 
- 
- 
- 
-<!-- Class --> 
-This class controls the cachablity of the map control at the server side. 
-=== Remarks === 
-The <​strong>​ServerCache</​strong>​ object contains information for caching map images at the server side. When you set the <​strong>​CacheDirectory</​strong>,​ the server cache is automatically turned on. A map image only needs to be generated once and then saved to the folder specified by the <​strong>​CacheDirectory</​strong>​. Later, when the map image is revisited, it is retrieved from the cache folder. Using the server cache will greatly increase the responsiveness of the map, but it is only suitable for a static map. 
-===== Inheritance Hierarchy ===== 
-*System.Object 
-**[[ThinkGeo.MapSuite.MvcEdition.ServerCache]] 
-===== Members Summary ===== 
-==== Public Constructors ==== 
-^ Name ^ Parameters ^ DeclaringType ^ Summary ^ 
-| {{wiki:​PublicMethod.gif|Public Method}}[[#​ServerCache()|ServerCache]] ​  ​| ​   |    | Initializes a new instance of the ServerCache class. ​  | 
-| {{wiki:​PublicMethod.gif|Public Method}}[[#​ServerCache(String)|ServerCache]] ​  | String ​  ​| ​   | Initializes a new instance of the ServerCache class with the specified cache directory. ​  | 
- 
-==== Protected Constructors ==== 
-^ Name ^ Parameters ^ DeclaringType ^ Summary ^ 
- 
-==== Public Methods ==== 
-^ Name ^ Parameters ^ DeclaringType ^ Summary ^ 
-| {{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}}[[#​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}}[[#​CacheDirectory|CacheDirectory]] ​  | String ​  ​| ​   | Gets or sets a string that represents the directory of the cache folder. ​  | 
-| {{wiki:​PublicProperty.gif|Public Property}}[[#​CacheId|CacheId]] ​  | String ​  ​| ​   | Gets or sets a string which is used to retrieve the cached images. ​  | 
- 
-==== Protected Properties ==== 
-^ Name ^ Return ^ DeclaringType ^ Summary ^ 
- 
-==== Public Events ==== 
-^ Name ^ Event Arguments ^ DeclaringType ^ Summary ^ 
- 
-===== Public Constructors ===== 
-==== ServerCache() ==== 
-Initializes a new instance of the ServerCache class. 
-=== Overloads === 
-Initializes a new instance of the ServerCache class. 
-=== Parameters === 
-^  Name ^  Type ^  Description ^ 
- 
-[[#Public Constructors|Go Back]] 
-==== ServerCache(String) ==== 
-Initializes a new instance of the ServerCache class with the specified cache directory. 
-=== Overloads === 
-Initializes a new instance of the ServerCache class. 
-=== Parameters === 
-^  Name ^  Type ^  Description ^ 
-| cacheDirectory ​  | String<​!-- System.String --> ​  | The directory string that indicates where the cache images are saved to.   | 
- 
-[[#Public Constructors|Go Back]] 
-===== Protected Constructors ===== 
-===== Public Methods ===== 
-==== 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]] 
-==== 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 ===== 
-==== CacheDirectory ==== 
-Gets or sets a string that represents the directory of the cache folder. 
-=== Return Value === 
-^ Return Type ^ 
-| String<​!-- System.String --> ​  | 
- 
-<!-- ThinkGeo.MapSuite.MvcEdition.ServerCache --> 
-[[#Public Properties|Go Back]] 
-==== CacheId ==== 
-Gets or sets a string which is used to retrieve the cached images. 
-=== Remarks === 
-The <​strong>​CacheId</​strong>​ is actually the name of a sub-folder of the cache folder to which images with the same CacheId are saved. When you set the same CacheId in different pages, the map images of these pages will be saved and retrieved from the same folder. Thus you can share cache images between pages. 
-=== Return Value === 
-^ Return Type ^ 
-| String<​!-- System.String --> ​  | 
- 
-<!-- ThinkGeo.MapSuite.MvcEdition.ServerCache --> 
-[[#Public Properties|Go Back]] 
-===== Protected Properties ===== 
-===== Public Events ===== 
-__NOTOC__ 
-[[Category:​MvcEdition]] 
-[[Category:​ThinkGeo.MapSuite.MvcEdition]] 
-[[Category:​UpdateDocumentation]] 
  
thinkgeo.mapsuite.mvcedition.servercache.1440040131.txt.gz ยท Last modified: 2015/09/21 03:35 (external edit)