aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Controller
diff options
context:
space:
mode:
authorPatrick Barron <barronpm@gmail.com>2020-08-15 02:02:58 -0400
committerPatrick Barron <barronpm@gmail.com>2020-08-15 02:02:58 -0400
commitca3a8bdb98aeb5d112a4d2a456ebcc445dc5fd12 (patch)
treee64586112b253266f9baffc6c8539cb3581c16ae /MediaBrowser.Controller
parent98cbf1c2de5151e88977143e415fe4a0b3cad7cf (diff)
Migrate ActivityLogEntryPoint.OnSessionStarted to IEventConsumer
Diffstat (limited to 'MediaBrowser.Controller')
-rw-r--r--MediaBrowser.Controller/Events/Session/SessionStartedEventArgs.cs19
1 files changed, 19 insertions, 0 deletions
diff --git a/MediaBrowser.Controller/Events/Session/SessionStartedEventArgs.cs b/MediaBrowser.Controller/Events/Session/SessionStartedEventArgs.cs
new file mode 100644
index 000000000..aab19cc46
--- /dev/null
+++ b/MediaBrowser.Controller/Events/Session/SessionStartedEventArgs.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 started.
+ /// </summary>
+ public class SessionStartedEventArgs : GenericEventArgs<SessionInfo>
+ {
+ /// <summary>
+ /// Initializes a new instance of the <see cref="SessionStartedEventArgs"/> class.
+ /// </summary>
+ /// <param name="arg">The session info.</param>
+ public SessionStartedEventArgs(SessionInfo arg) : base(arg)
+ {
+ }
+ }
+}