aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Controller/Events/Updates
diff options
context:
space:
mode:
authorPatrick Barron <barronpm@gmail.com>2020-08-14 15:21:17 -0400
committerPatrick Barron <barronpm@gmail.com>2020-08-14 15:21:17 -0400
commitb7f21971f43d6d9f956ff0aade31625d3995858a (patch)
tree62a7ccac56e77c7ec91b0c6565f33527d3c37f74 /MediaBrowser.Controller/Events/Updates
parentf4275adfcb4c7c5e2daedbad09c64c04fc1ebc53 (diff)
Migrate ActivityLogEntryPoint.OnPluginInstalled to IEventConsumer
Diffstat (limited to 'MediaBrowser.Controller/Events/Updates')
-rw-r--r--MediaBrowser.Controller/Events/Updates/PluginInstalledEventArgs.cs19
1 files changed, 19 insertions, 0 deletions
diff --git a/MediaBrowser.Controller/Events/Updates/PluginInstalledEventArgs.cs b/MediaBrowser.Controller/Events/Updates/PluginInstalledEventArgs.cs
new file mode 100644
index 0000000000..dfadc9f61f
--- /dev/null
+++ b/MediaBrowser.Controller/Events/Updates/PluginInstalledEventArgs.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 is installed.
+ /// </summary>
+ public class PluginInstalledEventArgs : GenericEventArgs<InstallationInfo>
+ {
+ /// <summary>
+ /// Initializes a new instance of the <see cref="PluginInstalledEventArgs"/> class.
+ /// </summary>
+ /// <param name="arg">The installation info.</param>
+ public PluginInstalledEventArgs(InstallationInfo arg) : base(arg)
+ {
+ }
+ }
+}