====== ThinkGeo.MapSuite.MvcEdition.ServerCache ====== {{section>upgrade_map_suite_to_10.0}} 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 ==== ** {{wiki:PublicMethod.gif|}} ServerCache() ** * //Initializes a new instance of the ServerCache class.// == Remarks == * //N/A// == Parameters ==
** {{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. ==== Protected Constructors ==== ==== Public Methods ==== ** {{wiki:PublicMethod.gif|}} ToString() ** * //N/A// == Remarks == * //N/A// == Return Value == * Type:String * Description:N/A == Parameters == ** {{wiki:PublicMethod.gif|}} Equals(Object) ** * //N/A// == Remarks == * //N/A// == Return Value == * Type:Boolean * Description:N/A == Parameters == * //obj// * Type:Object * Description:N/A ** {{wiki:PublicMethod.gif|}} GetHashCode() ** * //N/A// == Remarks == * //N/A// == Return Value == * Type:Int32 * Description:N/A == Parameters == ** {{wiki:PublicMethod.gif|}} GetType() ** * //N/A// == Remarks == * //N/A// == Return Value == * Type:Type * Description:N/A == Parameters == ==== Protected Methods ==== ** {{wiki:ProtectedMethod.gif|}} Finalize() ** * //N/A// == Remarks == * //N/A// == Return Value == * Type:Void * Description:N/A == Parameters == ** {{wiki:ProtectedMethod.gif|}} MemberwiseClone() ** * //N/A// == Remarks == * //N/A// == Return Value == * Type:Object * Description:N/A == Parameters == ==== Public Properties ==== ** {{wiki:PublicProperty.gif|}} CacheDirectory ** Gets or sets a string that represents the directory of the cache folder. == Remarks == N/A == Return Value == * Type:String ** {{wiki:PublicProperty.gif|}} 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 ====