Table of Contents

Class SKNullTileCacheStore

Namespace
SkiaSharp.Extended
Assembly
SkiaSharp.Extended.dll

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

SKNullTileCacheStore()

Methods

ClearAsync(CancellationToken)

Clears all cached entries.

Dispose()
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.