Updated certain events to have more concrete event arguments. Added try-catch block around playlist save logic. Added DispatchQueue where necessary.
This commit is contained in:
7
Harmonia.Core/Playlists/PlaylistSaveFailedEventArgs.cs
Normal file
7
Harmonia.Core/Playlists/PlaylistSaveFailedEventArgs.cs
Normal file
@@ -0,0 +1,7 @@
|
||||
namespace Harmonia.Core.Playlists;
|
||||
|
||||
public class PlaylistSaveFailedEventArgs(Playlist playlist, Exception exception) : EventArgs
|
||||
{
|
||||
public Playlist Playlist { get; } = playlist;
|
||||
public Exception Exception { get; } = exception;
|
||||
}
|
||||
Reference in New Issue
Block a user