mirror of
https://github.com/aaru-dps/Aaru.git
synced 2025-12-16 19:24:25 +00:00
Change async void for async Task wherever possible.
This commit is contained in:
@@ -38,6 +38,7 @@ using System.IO;
|
||||
using System.Reactive;
|
||||
using System.Text;
|
||||
using System.Threading;
|
||||
using System.Threading.Tasks;
|
||||
using System.Xml.Serialization;
|
||||
using Aaru.CommonTypes.Interfaces;
|
||||
using Aaru.Console;
|
||||
@@ -97,7 +98,7 @@ public sealed class ImageSidecarViewModel : ViewModelBase
|
||||
}
|
||||
|
||||
public string Title { get; }
|
||||
public ReactiveCommand<Unit, Unit> DestinationCommand { get; }
|
||||
public ReactiveCommand<Unit, Task> DestinationCommand { get; }
|
||||
public ReactiveCommand<Unit, Unit> StartCommand { get; }
|
||||
public ReactiveCommand<Unit, Unit> CloseCommand { get; }
|
||||
public ReactiveCommand<Unit, Unit> StopCommand { get; }
|
||||
@@ -313,7 +314,7 @@ public sealed class ImageSidecarViewModel : ViewModelBase
|
||||
_sidecarClass.Abort();
|
||||
}
|
||||
|
||||
async void ExecuteDestinationCommand()
|
||||
async Task ExecuteDestinationCommand()
|
||||
{
|
||||
var dlgDestination = new SaveFileDialog
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user