Search Results for

    Show / Hide Table of Contents

    Class SqlitePersistentCache

    Inheritance
    object
    SqlitePersistentCache
    Implements
    IPersistentCache<byte[]>
    ITileCache<byte[]>
    IUrlPersistentCache
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Mapsui.Extensions.Cache
    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
    Type Name Description
    string name
    TimeSpan? cacheExpireTime
    string folder
    bool compress

    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[]?, byte[])

    Declaration
    public void Add(string url, byte[]? postData, byte[] tile)
    Parameters
    Type Name Description
    string url
    byte[] postData
    byte[] tile
    | Edit this page View Source

    Clear()

    Declaration
    public void Clear()
    | Edit this page View Source

    Find(TileIndex)

    Declaration
    public byte[]? Find(TileIndex index)
    Parameters
    Type Name Description
    TileIndex index
    Returns
    Type Description
    byte[]
    | Edit this page View Source

    Find(string, byte[]?)

    Declaration
    public byte[]? Find(string url, byte[]? postData)
    Parameters
    Type Name Description
    string url
    byte[] postData
    Returns
    Type Description
    byte[]
    | 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, byte[]?)

    Declaration
    public void Remove(string url, byte[]? postData)
    Parameters
    Type Name Description
    string url
    byte[] postData

    Implements

    BruTile.Cache.IPersistentCache<T>
    BruTile.Cache.ITileCache<T>
    IUrlPersistentCache

    Extension Methods

    DisposableExtension.DisposeIfDisposable(object?)
    • Edit this page
    • View Source
    In this article
    Back to top Generated by DocFX