Class VectorCache
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
Properties
|
Edit this page
View Source
Enabled
Declaration
public bool Enabled { get; set; }
Property Value
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
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
Returns
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 Parameters
| Name |
Description |
| TParam |
|
| TPaint |
|
Implements
Extension Methods