Migrate ActivityLogEntryPoint.OnUserDeleted to IEventConsumer

This commit is contained in:
Patrick Barron
2020-08-13 21:01:35 -04:00
parent 18d34f953b
commit 737a86d0cb
3 changed files with 53 additions and 14 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 deleted.
/// </summary>
public class UserDeletedEventArgs : GenericEventArgs<User>
{
/// <summary>
/// Initializes a new instance of the <see cref="UserDeletedEventArgs"/> class.
/// </summary>
/// <param name="arg">The user.</param>
public UserDeletedEventArgs(User arg) : base(arg)
{
}
}
}