Code style

This commit is contained in:
ClemensFischer 2025-11-20 09:16:52 +01:00
parent 722408645b
commit b023bf9491
4 changed files with 4 additions and 4 deletions

View file

@ -12,7 +12,7 @@ namespace MapControl
public class ImageTile(int zoomLevel, int x, int y, int columnCount) public class ImageTile(int zoomLevel, int x, int y, int columnCount)
: Tile(zoomLevel, x, y, columnCount) : Tile(zoomLevel, x, y, columnCount)
{ {
public Image Image { get; } = new() { Stretch = Stretch.Fill }; public Image Image { get; } = new Image { Stretch = Stretch.Fill };
public override async Task LoadImageAsync(Func<Task<IImage>> loadImageFunc) public override async Task LoadImageAsync(Func<Task<IImage>> loadImageFunc)
{ {

View file

@ -39,7 +39,7 @@ namespace MapControl
public string ImagePath { get; } public string ImagePath { get; }
public Image Image { get; } = new() { Stretch = Stretch.Fill }; public Image Image { get; } = new Image { Stretch = Stretch.Fill };
public async Task LoadImage(Uri docUri) public async Task LoadImage(Uri docUri)
{ {

View file

@ -11,7 +11,7 @@ namespace MapControl
public class ImageTile(int zoomLevel, int x, int y, int columnCount) public class ImageTile(int zoomLevel, int x, int y, int columnCount)
: Tile(zoomLevel, x, y, columnCount) : Tile(zoomLevel, x, y, columnCount)
{ {
public Image Image { get; } = new() { Stretch = Stretch.Fill }; public Image Image { get; } = new Image { Stretch = Stretch.Fill };
public override async Task LoadImageAsync(Func<Task<ImageSource>> loadImageFunc) public override async Task LoadImageAsync(Func<Task<ImageSource>> loadImageFunc)
{ {

View file

@ -21,7 +21,7 @@ namespace MapControl
public class ImageTile(int zoomLevel, int x, int y, int columnCount) public class ImageTile(int zoomLevel, int x, int y, int columnCount)
: Tile(zoomLevel, x, y, columnCount) : Tile(zoomLevel, x, y, columnCount)
{ {
public Image Image { get; } = new() { Stretch = Stretch.Fill }; public Image Image { get; } = new Image { Stretch = Stretch.Fill };
public override async Task LoadImageAsync(Func<Task<ImageSource>> loadImageFunc) public override async Task LoadImageAsync(Func<Task<ImageSource>> loadImageFunc)
{ {