jellyfin-server/MediaBrowser.Controller/Library/UserDataSaveEventArgs.cs
2013-12-19 16:51:32 -05:00

43 lines
1.1 KiB
C#

using MediaBrowser.Controller.Entities;
using MediaBrowser.Model.Entities;
using System;
namespace MediaBrowser.Controller.Library
{
/// <summary>
/// Class UserDataSaveEventArgs
/// </summary>
public class UserDataSaveEventArgs : EventArgs
{
/// <summary>
/// Gets or sets the user id.
/// </summary>
/// <value>The user id.</value>
public Guid UserId { get; set; }
/// <summary>
/// Gets or sets the key.
/// </summary>
/// <value>The key.</value>
public string Key { 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 IHasUserData Item { get; set; }
}
}