2013-10-02 19:08:58 +00:00
|
|
|
|
using MediaBrowser.Controller.Entities;
|
|
|
|
|
using MediaBrowser.Model.Entities;
|
|
|
|
|
using System;
|
2016-04-30 23:05:21 +00:00
|
|
|
|
using System.Collections.Generic;
|
2013-10-02 19:08:58 +00:00
|
|
|
|
|
|
|
|
|
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; }
|
|
|
|
|
|
2016-04-30 23:05:21 +00:00
|
|
|
|
public List<string> Keys { get; set; }
|
2013-10-02 19:08:58 +00:00
|
|
|
|
|
|
|
|
|
/// <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; }
|
2013-10-23 16:03:12 +00:00
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Gets or sets the item.
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <value>The item.</value>
|
2013-12-19 21:51:32 +00:00
|
|
|
|
public IHasUserData Item { get; set; }
|
2013-10-02 19:08:58 +00:00
|
|
|
|
}
|
|
|
|
|
}
|