Search Results for

    Show / Hide Table of Contents

    Class FeatureIdTileCache

    Cache for rendered tile images, keyed by feature Id. Each feature has a unique Id, making it a natural cache key.

    Inheritance
    object
    FeatureIdTileCache
    Implements
    IDisposable
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Mapsui.Rendering.Caching
    Assembly: Mapsui.dll
    Syntax
    public sealed class FeatureIdTileCache : IDisposable

    Methods

    | Edit this page View Source

    Dispose()

    Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

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

    GetOrAdd(long, Func<long, ITileCacheEntry>, long)

    Declaration
    public ITileCacheEntry GetOrAdd(long featureId, Func<long, ITileCacheEntry> create, long currentIteration)
    Parameters
    Type Name Description
    long featureId
    Func<long, ITileCacheEntry> create
    long currentIteration
    Returns
    Type Description
    ITileCacheEntry
    | Edit this page View Source

    UpdateCache(long)

    Declaration
    public void UpdateCache(long iteration)
    Parameters
    Type Name Description
    long iteration

    Implements

    IDisposable

    Extension Methods

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