Minor refactoring.

This commit is contained in:
Michael Bucari-Tovo 2021-08-12 10:39:55 -06:00
parent 65027fd001
commit 56a48c04bf
7 changed files with 27 additions and 45 deletions

View file

@ -22,7 +22,7 @@ namespace LibationWinForms.BookLiberation
//Don't unsubscribe from Dispose because it fires on
//IStreamable.StreamingCompleted, and the IProcessable
//events need to live past that.
//events need to live past that event.
processable.Completed += OnUnsubscribeAll;
}
}
@ -42,7 +42,6 @@ namespace LibationWinForms.BookLiberation
public virtual void OnBegin(object sender, LibraryBook libraryBook) => LogMe.Info($"Begin: {libraryBook.Book}");
public virtual void OnStatusUpdate(object sender, string statusUpdate) => LogMe.Info("- " + statusUpdate);
public virtual void OnCompleted(object sender, LibraryBook libraryBook) => LogMe.Info($"Completed: {libraryBook.Book}{Environment.NewLine}");
#endregion
}
}