jellyfin-server/MediaBrowser.Controller/Library/UserDataSaveEventArgs.cs

40 lines
1.0 KiB
C#
Raw Normal View History

using System;
2018-12-27 23:27:57 +00:00
using System.Collections.Generic;
using MediaBrowser.Controller.Entities;
using MediaBrowser.Model.Entities;
2018-12-27 23:27:57 +00:00
namespace MediaBrowser.Controller.Library
{
/// <summary>
/// Class UserDataSaveEventArgs.
2018-12-27 23:27:57 +00:00
/// </summary>
public class UserDataSaveEventArgs : EventArgs
{
/// <summary>
/// Gets or sets the user id.
/// </summary>
/// <value>The user id.</value>
public Guid UserId { get; set; }
public List<string> Keys { get; set; }
/// <summary>
/// Gets or sets the save reason.
/// </summary>
/// <value>The save reason.</value>
public UserDataSaveReason SaveReason { get; set; }
/// <summary>
/// Gets or sets the user data.
/// </summary>
/// <value>The user data.</value>
public UserItemData UserData { get; set; }
/// <summary>
/// Gets or sets the item.
/// </summary>
/// <value>The item.</value>
public BaseItem Item { get; set; }
}
}