Migrate ActivityLogEntryPoint.OnUserLockedOut to IEventConsumer

This commit is contained in:
Patrick Barron
2020-08-13 21:11:38 -04:00
parent a1ecafb40d
commit 8a4bdaed6b
3 changed files with 66 additions and 24 deletions

View File

@@ -0,0 +1,18 @@
using Jellyfin.Data.Entities;
namespace Jellyfin.Data.Events.Users
{
/// <summary>
/// An event that occurs when a user is locked out.
/// </summary>
public class UserLockedOutEventArgs : GenericEventArgs<User>
{
/// <summary>
/// Initializes a new instance of the <see cref="UserLockedOutEventArgs"/> class.
/// </summary>
/// <param name="arg">The user.</param>
public UserLockedOutEventArgs(User arg) : base(arg)
{
}
}
}