User Tools

Site Tools


thinkgeo.mapsuite.mvcedition.servercache

ThinkGeo.MapSuite.MvcEdition.ServerCache

Note: The page was created before Map Suite 10. Map Suite 10.0 organized many classes into new namespaces and assemblies as well as had a few minor breaks in compatibility. The majority of previously built code should work without modification assuming the new namespaces are added. For guidance on upgrading your existing code, please check out MapSuite 10 Upgrade Guide.

This class controls the cachablity of the map control at the server side.

Inheritance Hierarchy

  • System.Object
    • ThinkGeo.MapSuite.MvcEdition.ServerCache

Members Summary

Public Constructors

ServerCache()

  • Initializes a new instance of the ServerCache class.
Remarks
  • N/A
Parameters

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.

Protected Constructors

Public Methods

ToString()

  • N/A
Remarks
  • N/A
Return Value
  • Type:String
  • Description:N/A
Parameters

Equals(Object)

  • N/A
Remarks
  • N/A
Return Value
  • Type:Boolean
  • Description:N/A
Parameters
  • obj
    • Type:Object
    • Description:N/A

GetHashCode()

  • N/A
Remarks
  • N/A
Return Value
  • Type:Int32
  • Description:N/A
Parameters

GetType()

  • N/A
Remarks
  • N/A
Return Value
  • Type:Type
  • Description:N/A
Parameters

Protected Methods

Finalize()

  • N/A
Remarks
  • N/A
Return Value
  • Type:Void
  • Description:N/A
Parameters

MemberwiseClone()

  • N/A
Remarks
  • N/A
Return Value
  • Type:Object
  • Description:N/A
Parameters

Public Properties

CacheDirectory

Gets or sets a string that represents the directory of the cache folder.

Remarks

N/A

Return Value
  • Type:String

CacheId

Gets or sets a string which is used to retrieve the cached images.

Remarks

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
  • Type:String

Protected Properties

Public Events

thinkgeo.mapsuite.mvcedition.servercache.txt · Last modified: 2017/03/16 21:59 (external edit)