aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Controller/Events/Session/SessionEndedEventArgs.cs
diff options
context:
space:
mode:
authorPatrick Barron <barronpm@gmail.com>2020-08-15 02:07:28 -0400
committerPatrick Barron <barronpm@gmail.com>2020-08-15 02:07:28 -0400
commit8570cfdba652eb61e2746ea9de6cb9c8bb23eaf5 (patch)
tree50fd98b1dab544b1d74d5ae570cff091bbb38de8 /MediaBrowser.Controller/Events/Session/SessionEndedEventArgs.cs
parentca3a8bdb98aeb5d112a4d2a456ebcc445dc5fd12 (diff)
Migrate ActivityLogEntryPoint.OnSessionEnded to IEventConsumer
Diffstat (limited to 'MediaBrowser.Controller/Events/Session/SessionEndedEventArgs.cs')
-rw-r--r--MediaBrowser.Controller/Events/Session/SessionEndedEventArgs.cs19
1 files changed, 19 insertions, 0 deletions
diff --git a/MediaBrowser.Controller/Events/Session/SessionEndedEventArgs.cs b/MediaBrowser.Controller/Events/Session/SessionEndedEventArgs.cs
new file mode 100644
index 000000000..46d7e5a17
--- /dev/null
+++ b/MediaBrowser.Controller/Events/Session/SessionEndedEventArgs.cs
@@ -0,0 +1,19 @@
+using Jellyfin.Data.Events;
+using MediaBrowser.Controller.Session;
+
+namespace MediaBrowser.Controller.Events.Session
+{
+ /// <summary>
+ /// An event that fires when a session is ended.
+ /// </summary>
+ public class SessionEndedEventArgs : GenericEventArgs<SessionInfo>
+ {
+ /// <summary>
+ /// Initializes a new instance of the <see cref="SessionEndedEventArgs"/> class.
+ /// </summary>
+ /// <param name="arg">The session info.</param>
+ public SessionEndedEventArgs(SessionInfo arg) : base(arg)
+ {
+ }
+ }
+}