Use Async method name suffix consistently

This commit is contained in:
ClemensFischer 2023-08-19 17:48:52 +02:00
parent f3aad38814
commit adc34b6591
9 changed files with 29 additions and 28 deletions

View file

@ -86,13 +86,13 @@ namespace MapControl
if (File.Exists(worldFilePath))
{
geoBitmap = await ReadWorldFileImage(sourcePath, worldFilePath);
geoBitmap = await ReadWorldFileImageAsync(sourcePath, worldFilePath);
}
}
if (geoBitmap == null)
{
geoBitmap = await ReadGeoTiff(sourcePath);
geoBitmap = await ReadGeoTiffAsync(sourcePath);
}
image = new Image
@ -136,7 +136,7 @@ namespace MapControl
MapPanel.SetBoundingBox(this, boundingBox);
}
private static async Task<GeoBitmap> ReadWorldFileImage(string sourcePath, string worldFilePath)
private static async Task<GeoBitmap> ReadWorldFileImageAsync(string sourcePath, string worldFilePath)
{
var bitmap = (BitmapSource)await ImageLoader.LoadImageAsync(sourcePath);