User Tools

Site Tools


api:thinkgeo.mapsuite.webforms.clientcache

ThinkGeo.MapSuite.WebForms.ClientCache

Inheritance Hierarchy

  • System.Object
    • ThinkGeo.MapSuite.WebForms.ClientCache

Members Summary

Public Constructors

ClientCache()

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

ClientCache(TimeSpan)

  • Initializes a new instance of the ClientCache class with the specified expiration time.
Remarks
  • N/A
Parameters
  • duration
    • Type:TimeSpan
    • Description:The amount of the time that the cached images are to remain in the browser cache.

ClientCache(TimeSpan,String)

  • Initializes a new instance of the ClientCache class with the specified expiration time and cacheId string.
Remarks
  • N/A
Parameters
  • duration
    • Type:TimeSpan
    • Description:The amount of the time that the cached images are to remain in the browser cache.
  • cacheId
    • Type:String
    • Description:A string that the browser uses to retrieve a cached image.

Protected Constructors

Public Methods

ToJson()

  • N/A
Remarks
  • N/A
Return Value
  • Type:String
  • Description:A JSON string that contains the CacheId.
Parameters

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

Duration

  • N/A
Remarks
  • The Duration indicates the length of time that images will remain in the browser cache before expiring. The default value is 7 day.
Return Value
  • Type:TimeSpan

CacheId

  • N/A
Remarks
  • Setting the CacheId will enable the browser to cache the map images. The CacheId string will also be appended to the URL of the image. The browser uses the URL as the key to retrieve a cached image; thus, you can make the browser cache different images by setting the CacheId to different values. For example, you can set a different CacheId for requests with different parameters and the browser will cache the different images for those requests.
Return Value
  • Type:String

Protected Properties

Public Events

api/thinkgeo.mapsuite.webforms.clientcache.txt · Last modified: 2017/01/11 06:59 (external edit)