@@ -441,7 +441,7 @@ await Main.FormAccessor.AppView.AppPanel.Dispatcher.Invoke(async delegate
441
441
{
442
442
if ( await Main . FormAccessor . ShowMessageAsync ( Functions . SLM . Translate ( nameof ( Properties . Resources . RemoveMovedFiles ) ) , Framework . StringFormat . Format ( Functions . SLM . Translate ( nameof ( Properties . Resources . CompressArchive_FileNotFoundEx ) ) , new { AppName , ExceptionMessage = ex . Message } ) , MessageDialogStyle . AffirmativeAndNegative ) . ConfigureAwait ( false ) == MessageDialogResult . Affirmative )
443
443
{
444
- Functions . FileSystem . RemoveGivenFiles ( copiedFiles , createdDirectories , currentTask ) ;
444
+ Functions . FileSystem . RemoveGivenFilesAsync ( copiedFiles , createdDirectories , currentTask ) ;
445
445
}
446
446
} , System . Windows . Threading . DispatcherPriority . Normal ) . ConfigureAwait ( false ) ;
447
447
@@ -547,7 +547,7 @@ await Main.FormAccessor.AppView.AppPanel.Dispatcher.Invoke(async delegate
547
547
{
548
548
if ( await Main . FormAccessor . ShowMessageAsync ( Functions . SLM . Translate ( nameof ( Properties . Resources . RemoveMovedFiles ) ) , Framework . StringFormat . Format ( Functions . SLM . Translate ( nameof ( Properties . Resources . PathTooLongException ) ) , new { AppName , ExceptionMessage = ex . Message } ) , MessageDialogStyle . AffirmativeAndNegative ) . ConfigureAwait ( false ) == MessageDialogResult . Affirmative )
549
549
{
550
- Functions . FileSystem . RemoveGivenFiles ( copiedFiles , createdDirectories , currentTask ) ;
550
+ Functions . FileSystem . RemoveGivenFilesAsync ( copiedFiles , createdDirectories , currentTask ) ;
551
551
}
552
552
} , System . Windows . Threading . DispatcherPriority . Normal ) ;
553
553
@@ -568,7 +568,7 @@ await Main.FormAccessor.AppView.AppPanel.Dispatcher.Invoke(async delegate
568
568
{
569
569
if ( await Main . FormAccessor . ShowMessageAsync ( Functions . SLM . Translate ( nameof ( Properties . Resources . RemoveMovedFiles ) ) , Framework . StringFormat . Format ( Functions . SLM . Translate ( nameof ( Properties . Resources . FileSystemRelatedError_DeleteMovedFiles ) ) , new { AppName , ExceptionMessage = ex . Message } ) , MessageDialogStyle . AffirmativeAndNegative ) . ConfigureAwait ( false ) == MessageDialogResult . Affirmative )
570
570
{
571
- Functions . FileSystem . RemoveGivenFiles ( copiedFiles , createdDirectories , currentTask ) ;
571
+ Functions . FileSystem . RemoveGivenFilesAsync ( copiedFiles , createdDirectories , currentTask ) ;
572
572
}
573
573
} , System . Windows . Threading . DispatcherPriority . Normal ) ;
574
574
@@ -581,7 +581,7 @@ await Main.FormAccessor.AppView.AppPanel.Dispatcher.Invoke(async delegate
581
581
{
582
582
if ( await Main . FormAccessor . ShowMessageAsync ( Functions . SLM . Translate ( nameof ( Properties . Resources . RemoveMovedFiles ) ) , Framework . StringFormat . Format ( Functions . SLM . Translate ( nameof ( Properties . Resources . FilePermissionRelatedError_DeleteFiles ) ) , new { AppName , ExceptionMessage = ex . Message } ) , MessageDialogStyle . AffirmativeAndNegative ) . ConfigureAwait ( false ) == MessageDialogResult . Affirmative )
583
583
{
584
- Functions . FileSystem . RemoveGivenFiles ( copiedFiles , createdDirectories , currentTask ) ;
584
+ Functions . FileSystem . RemoveGivenFilesAsync ( copiedFiles , createdDirectories , currentTask ) ;
585
585
}
586
586
} , System . Windows . Threading . DispatcherPriority . Normal ) ;
587
587
}
@@ -638,7 +638,7 @@ await Main.FormAccessor.AppView.AppPanel.Dispatcher.Invoke(async delegate
638
638
{
639
639
if ( await Main . FormAccessor . ShowMessageAsync ( Functions . SLM . Translate ( nameof ( Properties . Resources . RemoveMovedFiles ) ) , Framework . StringFormat . Format ( Functions . SLM . Translate ( nameof ( Properties . Resources . PathTooLongException ) ) , new { AppName , ExceptionMessage = ex . Message } ) , MessageDialogStyle . AffirmativeAndNegative ) . ConfigureAwait ( false ) == MessageDialogResult . Affirmative )
640
640
{
641
- Functions . FileSystem . RemoveGivenFiles ( copiedFiles , createdDirectories , currentTask ) ;
641
+ Functions . FileSystem . RemoveGivenFilesAsync ( copiedFiles , createdDirectories , currentTask ) ;
642
642
}
643
643
} , System . Windows . Threading . DispatcherPriority . Normal ) ;
644
644
@@ -659,7 +659,7 @@ await Main.FormAccessor.AppView.AppPanel.Dispatcher.Invoke(async delegate
659
659
{
660
660
if ( await Main . FormAccessor . ShowMessageAsync ( Functions . SLM . Translate ( nameof ( Properties . Resources . RemoveMovedFiles ) ) , Framework . StringFormat . Format ( Functions . SLM . Translate ( nameof ( Properties . Resources . FileSystemRelatedError_DeleteMovedFiles ) ) , new { AppName , ExceptionMessage = ex . Message } ) , MessageDialogStyle . AffirmativeAndNegative ) . ConfigureAwait ( false ) == MessageDialogResult . Affirmative )
661
661
{
662
- Functions . FileSystem . RemoveGivenFiles ( copiedFiles , createdDirectories , currentTask ) ;
662
+ Functions . FileSystem . RemoveGivenFilesAsync ( copiedFiles , createdDirectories , currentTask ) ;
663
663
}
664
664
} , System . Windows . Threading . DispatcherPriority . Normal ) ;
665
665
@@ -672,7 +672,7 @@ await Main.FormAccessor.AppView.AppPanel.Dispatcher.Invoke(async delegate
672
672
{
673
673
if ( await Main . FormAccessor . ShowMessageAsync ( Functions . SLM . Translate ( nameof ( Properties . Resources . RemoveMovedFiles ) ) , Framework . StringFormat . Format ( Functions . SLM . Translate ( nameof ( Properties . Resources . FilePermissionRelatedError_DeleteFiles ) ) , new { AppName , ExceptionMessage = ex . Message } ) , MessageDialogStyle . AffirmativeAndNegative ) . ConfigureAwait ( false ) == MessageDialogResult . Affirmative )
674
674
{
675
- Functions . FileSystem . RemoveGivenFiles ( copiedFiles , createdDirectories , currentTask ) ;
675
+ Functions . FileSystem . RemoveGivenFilesAsync ( copiedFiles , createdDirectories , currentTask ) ;
676
676
}
677
677
} , System . Windows . Threading . DispatcherPriority . Normal ) ;
678
678
}
@@ -703,7 +703,7 @@ await Main.FormAccessor.AppView.AppPanel.Dispatcher.Invoke(async delegate
703
703
{
704
704
if ( await Main . FormAccessor . ShowMessageAsync ( Functions . SLM . Translate ( nameof ( Properties . Resources . RemoveMovedFiles ) ) , Framework . StringFormat . Format ( Functions . SLM . Translate ( nameof ( Properties . Resources . TaskCancelled_RemoveFiles ) ) , new { AppName } ) , MessageDialogStyle . AffirmativeAndNegative ) . ConfigureAwait ( false ) == MessageDialogResult . Affirmative )
705
705
{
706
- Functions . FileSystem . RemoveGivenFiles ( copiedFiles , createdDirectories , currentTask ) ;
706
+ Functions . FileSystem . RemoveGivenFilesAsync ( copiedFiles , createdDirectories , currentTask ) ;
707
707
}
708
708
} , System . Windows . Threading . DispatcherPriority . Normal ) . ConfigureAwait ( false ) ;
709
709
@@ -725,7 +725,7 @@ await Main.FormAccessor.AppView.AppPanel.Dispatcher.Invoke(async delegate
725
725
{
726
726
if ( await Main . FormAccessor . ShowMessageAsync ( Functions . SLM . Translate ( nameof ( Properties . Resources . RemoveMovedFiles ) ) , Framework . StringFormat . Format ( Functions . SLM . Translate ( nameof ( Properties . Resources . AnyException_RemoveFiles ) ) , new { AppName , ExceptionMessage = ex . Message } ) , MessageDialogStyle . AffirmativeAndNegative ) . ConfigureAwait ( false ) == MessageDialogResult . Affirmative )
727
727
{
728
- Functions . FileSystem . RemoveGivenFiles ( copiedFiles , createdDirectories , currentTask ) ;
728
+ Functions . FileSystem . RemoveGivenFilesAsync ( copiedFiles , createdDirectories , currentTask ) ;
729
729
}
730
730
} , System . Windows . Threading . DispatcherPriority . Normal ) . ConfigureAwait ( false ) ;
731
731
0 commit comments