C# Class TileCook.DiskCache

Inheritance: ICache
显示文件 Open project: jbrwn/tc

Public Methods

Method Description
Delete ( Coord coord, string format ) : void
DiskCache ( string directory ) : System
Get ( Coord coord, string format ) : byte[]
Put ( Coord coord, string format, byte image ) : void

Private Methods

Method Description
buildPath ( Coord coord, string format ) : string

Method Details

Delete() public method

public Delete ( Coord coord, string format ) : void
coord Coord
format string
return void

DiskCache() public method

public DiskCache ( string directory ) : System
directory string
return System

Get() public method

public Get ( Coord coord, string format ) : byte[]
coord Coord
format string
return byte[]

Put() public method

public Put ( Coord coord, string format, byte image ) : void
coord Coord
format string
image byte
return void