Class CacheHolder<T>
Inheritance
CacheHolder<T>
Assembly: Mapsui.dll
Syntax
public sealed class CacheHolder<T> : ICacheHolder, IDisposable where T : class
Type Parameters
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
|
Edit this page
View Source
Get<TResult>()
Declaration
public CacheTracker<TResult>? Get<TResult>() where TResult : T?
Returns
Type Parameters
|
Edit this page
View Source
SetInstance(T)
Declaration
public void SetInstance(T instance)
Parameters
| Type |
Name |
Description |
| T |
instance |
|
Implements
Extension Methods