Search Results for

    Show / Hide Table of Contents

    Class VectorCache

    Inheritance
    object
    VectorCache
    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 VectorCache : IDisposable

    Constructors

    | Edit this page View Source

    VectorCache(RenderService, int)

    Declaration
    public VectorCache(RenderService renderService, int capacity)
    Parameters
    Type Name Description
    RenderService renderService
    int capacity

    Properties

    | Edit this page View Source

    Enabled

    Declaration
    public bool Enabled { get; set; }
    Property Value
    Type Description
    bool

    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

    GetOrCreate<TParam, TPaint>(TParam, Func<TParam, RenderService, TPaint>)

    Declaration
    public CacheTracker<TPaint> GetOrCreate<TParam, TPaint>(TParam param, Func<TParam, RenderService, TPaint> toPaint) where TParam : notnull where TPaint : class
    Parameters
    Type Name Description
    TParam param
    Func<TParam, RenderService, TPaint> toPaint
    Returns
    Type Description
    CacheTracker<TPaint>
    Type Parameters
    Name Description
    TParam
    TPaint
    | Edit this page View Source

    GetOrCreate<TParam, TPaint>(TParam, Func<TParam, TPaint>)

    Declaration
    public CacheTracker<TPaint> GetOrCreate<TParam, TPaint>(TParam param, Func<TParam, TPaint> toPaint) where TParam : notnull where TPaint : class
    Parameters
    Type Name Description
    TParam param
    Func<TParam, TPaint> toPaint
    Returns
    Type Description
    CacheTracker<TPaint>
    Type Parameters
    Name Description
    TParam
    TPaint

    Implements

    IDisposable

    Extension Methods

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