Migrate ActivityLogEntryPoint.OnSessionStarted to IEventConsumer

This commit is contained in:
Patrick Barron
2020-08-15 02:02:58 -04:00
parent 98cbf1c2de
commit ca3a8bdb98
3 changed files with 73 additions and 27 deletions

View File

@@ -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)
{
}
}
}