Simplified DispatcherTimer wrapper

This commit is contained in:
ClemensFischer 2025-01-28 17:52:40 +01:00
parent 4ec73292c3
commit d83493a498
7 changed files with 28 additions and 46 deletions

View file

@ -88,7 +88,10 @@ namespace MapControl
/// Loads a tile ImageSource asynchronously from an encoded frame buffer in a byte array.
/// This method is called by TileImageLoader when caching is enabled.
/// </summary>
public virtual Task<ImageSource> LoadImageAsync(byte[] buffer) => ImageLoader.LoadImageAsync(buffer);
public virtual Task<ImageSource> LoadImageAsync(byte[] buffer)
{
return ImageLoader.LoadImageAsync(buffer);
}
/// <summary>
/// Creates a TileSource instance from an Uri template string.