Migrate ServerEventNotifier.OnPackageInstallationCancelled to IEventConsumer

This commit is contained in:
Patrick Barron
2020-08-15 23:20:41 -04:00
parent e82dd8b70e
commit a40064a146
3 changed files with 50 additions and 79 deletions

View File

@@ -0,0 +1,19 @@
using Jellyfin.Data.Events;
using MediaBrowser.Model.Updates;
namespace MediaBrowser.Controller.Events.Updates
{
/// <summary>
/// An event that occurs when a plugin installation is cancelled.
/// </summary>
public class PluginInstallationCancelledEventArgs : GenericEventArgs<InstallationInfo>
{
/// <summary>
/// Initializes a new instance of the <see cref="PluginInstallationCancelledEventArgs"/> class.
/// </summary>
/// <param name="arg">The installation info.</param>
public PluginInstallationCancelledEventArgs(InstallationInfo arg) : base(arg)
{
}
}
}