Class SKNullTileCacheStore
A no-op cache store that never stores or returns anything. Use for testing or when persistent caching is disabled.
public sealed class SKNullTileCacheStore : ISKTileCacheStore, IDisposable
- Inheritance
-
SKNullTileCacheStore
- Implements
- Inherited Members
Constructors
Methods
- ClearAsync(CancellationToken)
Clears all cached entries.
- RemoveAsync(string, CancellationToken)
Removes a specific cache entry.
- SetAsync(string, SKImagePyramidTileData, CancellationToken)
Stores tile data. Implementations should be safe to call fire-and-forget.
- TryGetAsync(string, CancellationToken)
Returns cached tile data, or null on a miss or expiry.