Class CacheExtensions
Inherited Members
Namespace: Mapsui.Extensions
Assembly: Mapsui.dll
Syntax
public static class CacheExtensionsMethods
| Edit this page View SourceGetCachedBytesAsync(IUrlPersistentCache?, string, Func<string, Task<byte[]>>?)
Declaration
public static Task<byte[]> GetCachedBytesAsync(this IUrlPersistentCache? persistentCache, string url, Func<string, Task<byte[]>>? getBytesAsync = null)Parameters
| Type | Name | Description | 
|---|---|---|
| IUrlPersistentCache | persistentCache | |
| string | url | |
| Func<string, Task<byte[]>> | getBytesAsync | 
Returns
| Type | Description | 
|---|---|
| Task<byte[]> |