jellyfin-server/MediaBrowser.Controller/Sorting/IUserBaseItemComparer.cs

29 lines
847 B
C#
Raw Normal View History

2018-12-27 23:27:57 +00:00
using MediaBrowser.Controller.Library;
namespace MediaBrowser.Controller.Sorting
{
/// <summary>
/// Represents a BaseItem comparer that requires a User to perform it's comparison.
2018-12-27 23:27:57 +00:00
/// </summary>
public interface IUserBaseItemComparer : IBaseItemComparer
{
/// <summary>
/// Gets or sets the user.
/// </summary>
/// <value>The user.</value>
2020-05-13 02:10:35 +00:00
Jellyfin.Data.Entities.User User { get; set; }
2018-12-27 23:27:57 +00:00
/// <summary>
/// Gets or sets the user manager.
/// </summary>
/// <value>The user manager.</value>
IUserManager UserManager { get; set; }
/// <summary>
/// Gets or sets the user data repository.
/// </summary>
/// <value>The user data repository.</value>
IUserDataManager UserDataRepository { get; set; }
}
}