UserDataSaveEventArgs.cs 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. using MediaBrowser.Controller.Entities;
  2. using MediaBrowser.Model.Entities;
  3. using System;
  4. namespace MediaBrowser.Controller.Library
  5. {
  6. /// <summary>
  7. /// Class UserDataSaveEventArgs
  8. /// </summary>
  9. public class UserDataSaveEventArgs : EventArgs
  10. {
  11. /// <summary>
  12. /// Gets or sets the user id.
  13. /// </summary>
  14. /// <value>The user id.</value>
  15. public Guid UserId { get; set; }
  16. /// <summary>
  17. /// Gets or sets the key.
  18. /// </summary>
  19. /// <value>The key.</value>
  20. public string Key { get; set; }
  21. /// <summary>
  22. /// Gets or sets the save reason.
  23. /// </summary>
  24. /// <value>The save reason.</value>
  25. public UserDataSaveReason SaveReason { get; set; }
  26. /// <summary>
  27. /// Gets or sets the user data.
  28. /// </summary>
  29. /// <value>The user data.</value>
  30. public UserItemData UserData { get; set; }
  31. /// <summary>
  32. /// Gets or sets the item.
  33. /// </summary>
  34. /// <value>The item.</value>
  35. public IHasUserData Item { get; set; }
  36. }
  37. }