Class SqlitePersistentCache
Inheritance
SqlitePersistentCache
Assembly: Mapsui.Extensions.dll
Syntax
public class SqlitePersistentCache : IPersistentCache<byte[]>, ITileCache<byte[]>, IUrlPersistentCache
Constructors
|
Edit this page
View Source
SqlitePersistentCache(string, TimeSpan?, string?, bool)
Declaration
public SqlitePersistentCache(string name, TimeSpan? cacheExpireTime = null, string? folder = null, bool compress = true)
Parameters
Methods
|
Edit this page
View Source
Add(TileIndex, byte[])
Declaration
public void Add(TileIndex index, byte[] tile)
Parameters
| Type |
Name |
Description |
| TileIndex |
index |
|
| byte[] |
tile |
|
|
Edit this page
View Source
Add(string, byte[])
Declaration
public void Add(string url, byte[] tile)
Parameters
|
Edit this page
View Source
Clear()
Declaration
|
Edit this page
View Source
Find(TileIndex)
Declaration
public byte[]? Find(TileIndex index)
Parameters
| Type |
Name |
Description |
| TileIndex |
index |
|
Returns
|
Edit this page
View Source
Find(string)
Declaration
public byte[]? Find(string url)
Parameters
| Type |
Name |
Description |
| string |
url |
|
Returns
|
Edit this page
View Source
Remove(TileIndex)
Declaration
public void Remove(TileIndex index)
Parameters
| Type |
Name |
Description |
| TileIndex |
index |
|
|
Edit this page
View Source
Remove(string)
Declaration
public void Remove(string url)
Parameters
| Type |
Name |
Description |
| string |
url |
|
Implements
BruTile.Cache.IPersistentCache<T>
BruTile.Cache.ITileCache<T>