Added count of items removed from library.
This commit is contained in:
parent
00f7e4b779
commit
771d992da7
4 changed files with 14 additions and 10 deletions
|
|
@ -11,6 +11,7 @@ namespace LibationWinForms.Dialogs
|
|||
private Account[] _accounts { get; }
|
||||
|
||||
public int NewBooksAdded { get; private set; }
|
||||
public int OldBooksRemoved { get; private set; }
|
||||
public int TotalBooksProcessed { get; private set; }
|
||||
|
||||
public IndexLibraryDialog(params Account[] accounts)
|
||||
|
|
@ -31,7 +32,7 @@ namespace LibationWinForms.Dialogs
|
|||
|
||||
try
|
||||
{
|
||||
(TotalBooksProcessed, NewBooksAdded) = await LibraryCommands.ImportAccountAsync((account) => new WinformResponder(account), _accounts);
|
||||
(TotalBooksProcessed, NewBooksAdded, OldBooksRemoved) = await LibraryCommands.ImportAccountAsync((account) => new WinformResponder(account), _accounts);
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue