Migrate ActivityLogEntryPoint.OnSessionEnded to IEventConsumer

This commit is contained in:
Patrick Barron
2020-08-15 02:07:28 -04:00
parent ca3a8bdb98
commit 8570cfdba6
3 changed files with 73 additions and 78 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 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)
{
}
}
}