Migrate ServerEventNotifier.OnPackageInstalling to IEventConsumer

This commit is contained in:
Patrick Barron
2020-08-15 18:57:46 -04:00
parent 8c9cd5f6d7
commit b7ceb40d6e
3 changed files with 50 additions and 7 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 is installing.
/// </summary>
public class PluginInstallingEventArgs : GenericEventArgs<InstallationInfo>
{
/// <summary>
/// Initializes a new instance of the <see cref="PluginInstallingEventArgs"/> class.
/// </summary>
/// <param name="arg">The installation info.</param>
public PluginInstallingEventArgs(InstallationInfo arg) : base(arg)
{
}
}
}