mirror of
https://github.com/ClemensFischer/XAML-Map-Control.git
synced 2026-04-05 14:37:01 +00:00
Use lambda discard parameters
This commit is contained in:
parent
301ebacc58
commit
29ccf656cd
11 changed files with 17 additions and 17 deletions
|
|
@ -63,7 +63,7 @@ namespace MapControl
|
|||
loadingProgress = new Progress<double>(p => SetValue(LoadingProgressProperty, p));
|
||||
|
||||
updateTimer = new UpdateTimer { Interval = UpdateInterval };
|
||||
updateTimer.Tick += async (s, e) => await UpdateImageAsync();
|
||||
updateTimer.Tick += async (_, _) => await UpdateImageAsync();
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
|
|
|||
|
|
@ -62,7 +62,7 @@ namespace MapControl
|
|||
loadingProgress = new Progress<double>(p => SetValue(LoadingProgressProperty, p));
|
||||
|
||||
updateTimer = new UpdateTimer { Interval = UpdateInterval };
|
||||
updateTimer.Tick += (s, e) => UpdateTiles();
|
||||
updateTimer.Tick += (_, _) => UpdateTiles();
|
||||
#if WPF
|
||||
RenderOptions.SetEdgeMode(this, EdgeMode.Aliased);
|
||||
#elif UWP || WINUI
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue