aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Controller/Events
diff options
context:
space:
mode:
authorPatrick Barron <barronpm@gmail.com>2020-08-15 23:20:41 -0400
committerPatrick Barron <barronpm@gmail.com>2020-08-15 23:20:41 -0400
commita40064a146da17a49582f7ef1ad754a497725ccc (patch)
tree4d331c4e549e3dfcf3ca106fc305e6007de964f9 /MediaBrowser.Controller/Events
parente82dd8b70ee5fe1d09c7230a7de21f47456b8c55 (diff)
Migrate ServerEventNotifier.OnPackageInstallationCancelled to IEventConsumer
Diffstat (limited to 'MediaBrowser.Controller/Events')
-rw-r--r--MediaBrowser.Controller/Events/Updates/PluginInstallationCancelledEventArgs.cs19
1 files changed, 19 insertions, 0 deletions
diff --git a/MediaBrowser.Controller/Events/Updates/PluginInstallationCancelledEventArgs.cs b/MediaBrowser.Controller/Events/Updates/PluginInstallationCancelledEventArgs.cs
new file mode 100644
index 000000000..b06046c05
--- /dev/null
+++ b/MediaBrowser.Controller/Events/Updates/PluginInstallationCancelledEventArgs.cs
@@ -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)
+ {
+ }
+ }
+}