C# 클래스 MapAround.Caching.WebTileCacheAccessor

Represents an object that provides an access to the tile cache storing into System.Web.Caching.Cache.
상속: ITileCacheAccessor
파일 보기 프로젝트 열기: gkrsu/maparound.core

공개 메소드들

메소드 설명
ExtractTileBytes ( string layer, BoundingRectangle area, string key, string contentType ) : byte[]

Extracts a binary representation of tile from cache.

SaveTileBytes ( string layer, BoundingRectangle area, string key, byte tile, string contentType ) : void

Saves a binary representation of an image into cache.

WebTileCacheAccessor ( Cache cache ) : System.Text

Initializes a new instance of the MapAround.Caching.WebTileCacheAccessor

비공개 메소드들

메소드 설명
checkCache ( ) : void

메소드 상세

ExtractTileBytes() 공개 메소드

Extracts a binary representation of tile from cache.
public ExtractTileBytes ( string layer, BoundingRectangle area, string key, string contentType ) : byte[]
layer string
area BoundingRectangle Area description
key string Access key
contentType string
리턴 byte[]

SaveTileBytes() 공개 메소드

Saves a binary representation of an image into cache.
public SaveTileBytes ( string layer, BoundingRectangle area, string key, byte tile, string contentType ) : void
layer string
area BoundingRectangle Area description
key string Access key
tile byte Byte array that contains a binary representation of a tile image
contentType string
리턴 void

WebTileCacheAccessor() 공개 메소드

Initializes a new instance of the MapAround.Caching.WebTileCacheAccessor
public WebTileCacheAccessor ( Cache cache ) : System.Text
cache System.Web.Caching.Cache An instance of the System.Web.Caching.Cache
리턴 System.Text