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
thinkgeo.mapsuite.mvcedition.servercache [2017/03/16 21:59] (current)
Line 1: Line 1:
 ====== ThinkGeo.MapSuite.MvcEdition.ServerCache ====== ====== ThinkGeo.MapSuite.MvcEdition.ServerCache ======
  
 +{{section>​upgrade_map_suite_to_10.0}}
  
- 
-<!-- Class --> 
 This class controls the cachablity of the map control at the server side. 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 ===== ===== Inheritance Hierarchy =====
-*System.Object +  ​*System.Object 
-**[[ThinkGeo.MapSuite.MvcEdition.ServerCache]]+    ***ThinkGeo.MapSuite.MvcEdition.ServerCache**
 ===== Members Summary ===== ===== Members Summary =====
 ==== Public Constructors ==== ==== Public Constructors ====
-^ Name ^ Parameters ^ DeclaringType ^ Summary ^ +** {{wiki:​PublicMethod.gif|}} ServerCache() ​**
-{{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 ​==== +  * //​Initializes a new instance of the ServerCache class.// 
-^ Name ^ Parameters ^ DeclaringType ^ Summary ^+== Remarks ​== 
 +  * //N/A// 
 +== Parameters ​== 
 +<div newline></​div>​ 
 +** {{wiki:​PublicMethod.gif|}} ServerCache(String) **
  
 +  * //​Initializes a new instance of the ServerCache class with the specified cache directory.//​
 +== Remarks ==
 +  * //N/A//
 +== Parameters ==
 +  * //​cacheDirectory//​
 +    * Type:String
 +    * Description:​The directory string that indicates where the cache images are saved to.
 +
 +<div newline></​div>​
 +==== Protected Constructors ====
 ==== Public Methods ==== ==== Public Methods ====
-^ Name ^ Parameters ^ DeclaringType ^ Summary ^ +** {{wiki:​PublicMethod.gif|}} ToString() ​**
-{{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 ==== +  * //N/A// 
-^ Name ^ Parameters ^ DeclaringType ^ Summary ^ +== Remarks ​== 
-| {{wiki:​ProtectedMethod.gif|Protected Method}}[[#​Finalize()|Finalize]] ​  ​| ​   | Object ​  ​| ​   | +  * //N/A//
-| {{wiki:​ProtectedMethod.gif|Protected Method}}[[#​MemberwiseClone()|MemberwiseClone]] ​  ​| ​   | Object ​  ​| ​   |+
  
-==== Public Properties ==== +== Return Value == 
-^ Name ^ Return ^ DeclaringType ^ Summary ^ +  * Type:String 
-| {{wiki:PublicProperty.gif|Public Property}}[[#​CacheDirectory|CacheDirectory]] ​  ​| ​String ​  |    | Gets or sets a string that represents the directory of the cache folder. ​  | +  * Description:N/A
-| {{wiki:PublicProperty.gif|Public Property}}[[#​CacheId|CacheId]] ​  | String ​  ​| ​   | Gets or sets a string which is used to retrieve the cached images. ​  |+
  
-==== Protected Properties ==== +== Parameters ​== 
-^ Name ^ Return ^ DeclaringType ^ Summary ^+<div newline></​div>​ 
 +** {{wiki:​PublicMethod.gif|}} Equals(Object) **
  
-==== Public Events ==== +  * //N/A// 
-^ Name ^ Event Arguments ^ DeclaringType ^ Summary ^+== Remarks ​== 
 +  * //N/A//
  
-===== Public Constructors ===== +== Return Value == 
-==== ServerCache() ==== +  ​Type:Boolean 
-Initializes a new instance of the ServerCache class. +  Description:N/A
-=== Overloads === +
-Initializes a new instance of the ServerCache class. +
-=== Parameters === +
-^  Name ^  ​Type ​ ​Description ​^+
  
-[[#Public Constructors|Go Back]] +== Parameters == 
-==== ServerCache(String) ==== +  ​* //obj// 
-Initializes a new instance of the ServerCache class with the specified cache directory. +    * Type:Object 
-=== Overloads === +    * Description:N/A
-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]] +<div newline></​div>​ 
-===== Protected Constructors ===== +** {{wiki:​PublicMethod.gif|}} GetHashCode() **
-===== Public Methods ===== +
-==== Equals(Object==== +
-=== Return Value === +
-^ Return Type ^ Description ^ +
-| Boolean<​!-- System.Boolean --> ​  ​| ​   |+
  
-=== Parameters === +  * //N/A// 
- Name ^  Type ^  Description ^ +== Remarks ​== 
-| obj   | Object<​!-- System.Object --> ​  ​| ​   |+  ​* //N/A//
  
-<!-- System.Object --> +== Return Value == 
-[[#Public Methods|Go Back]] +  ​* ​Type:Int32 
-==== GetHashCode() ==== +  * Description:N/A
-=== Return Value === +
-^ Return ​Type Description ​+
-| Int32<​!-- System.Int32 --> ​  ​| ​   |+
  
-=== Parameters === +== Parameters == 
-^  Name ^  Type ^  Description ^+<div newline></​div>​ 
 +** {{wiki:​PublicMethod.gif|}} GetType() **
  
-<!-- System.Object --> +  * //N/A// 
-[[#Public Methods|Go Back]] +== Remarks ​== 
-==== GetType() ==== +  * //N/A//
-=== Return Value === +
-^ Return Type ^ Description ^ +
-| Type<!-- System.Type --> ​  ​| ​   |+
  
-=== Parameters === +== Return Value == 
-^  Name ^  ​Type ​ ​Description ​^+  ​Type:Type 
 +  Description:N/A
  
-<!-- System.Object --> +== Parameters ​== 
-[[#Public Methods|Go Back]] +<div newline></​div>​ 
-==== ToString() ​==== +==== Protected Methods ​==== 
-=== Return Value === +** {{wiki:​ProtectedMethod.gif|}} Finalize() **
-^ Return Type ^ Description ^ +
-| String<​!-- System.String --> ​  ​| ​   ​|+
  
-=== Parameters === +  * //N/A// 
-^  Name ^  Type ^  Description ^+== Remarks ​== 
 +  ​* //N/A//
  
-<!-- System.Object --> +== Return Value == 
-[[#Public Methods|Go Back]] +  ​* ​Type:Void 
-===== Protected Methods ===== +  * Description:N/A
-==== Finalize() ==== +
-=== Return Value === +
-^ Return ​Type Description ​+
-| Void<!-- System.Void --> ​  ​| ​   |+
  
-=== Parameters === +== Parameters == 
-^  Name ^  Type ^  Description ^+<div newline></​div>​ 
 +** {{wiki:​ProtectedMethod.gif|}} MemberwiseClone() **
  
-<!-- System.Object --> +  * //N/A// 
-[[#​Protected Methods|Go Back]] +== Remarks ​== 
-==== MemberwiseClone() ==== +  * //N/A//
-=== Return Value === +
-^ Return Type ^ Description ^ +
-| Object<​!-- System.Object --> ​  ​| ​   |+
  
-=== Parameters === +== Return Value == 
-^  Name ^  ​Type ​ ​Description ​^+  ​Type:Object 
 +  Description:N/A 
 + 
 +== Parameters == 
 +<div newline></​div>​ 
 +==== Public Properties ==== 
 +** {{wiki:​PublicProperty.gif|}} CacheDirectory **
  
-<!-- System.Object --> 
-[[#​Protected Methods|Go Back]] 
-===== Public Properties ===== 
-==== CacheDirectory ==== 
 Gets or sets a string that represents the directory of the cache folder. Gets or sets a string that represents the directory of the cache folder.
-=== Return Value === +== Remarks == 
-^ Return ​Type +N/A 
-String<!-- System.String --> ​  |+== Return Value == 
 +  ​* ​Type:String 
 + 
 +** {{wiki:​PublicProperty.gif|}} CacheId **
  
-<!-- ThinkGeo.MapSuite.MvcEdition.ServerCache --> 
-[[#Public Properties|Go Back]] 
-==== CacheId ==== 
 Gets or sets a string which is used to retrieve the cached images. Gets or sets a string which is used to retrieve the cached images.
-=== Remarks ​=== +== 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. +The CacheId 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 Value == 
-^ Return ​Type +  ​* ​Type:String
-String<!-- System.String --> ​  |+
  
-<!-- ThinkGeo.MapSuite.MvcEdition.ServerCache --> +==== Protected Properties ==== 
-[[#Public Properties|Go Back]] +==== Public Events ====
-===== 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)