Search Results for

    Show / Hide Table of Contents

    Class CacheHolder<T>

    Inheritance
    object
    CacheHolder<T>
    Implements
    ICacheHolder
    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 CacheHolder<T> : ICacheHolder, IDisposable where T : class
    Type Parameters
    Name Description
    T

    Constructors

    | Edit this page View Source

    CacheHolder(T)

    Declaration
    public CacheHolder(T instance)
    Parameters
    Type Name Description
    T instance

    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

    Get<TResult>()

    Declaration
    public CacheTracker<TResult>? Get<TResult>() where TResult : T?
    Returns
    Type Description
    CacheTracker<TResult>?
    Type Parameters
    Name Description
    TResult
    | Edit this page View Source

    SetInstance(T)

    Declaration
    public void SetInstance(T instance)
    Parameters
    Type Name Description
    T instance

    Implements

    ICacheHolder
    IDisposable

    Extension Methods

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