2018-12-27 16:27:57 -07:00
|
|
|
using MediaBrowser.Controller.Library;
|
|
|
|
|
|
|
|
namespace MediaBrowser.Controller.Sorting
|
|
|
|
{
|
|
|
|
/// <summary>
|
2020-06-15 15:37:52 -07:00
|
|
|
/// Represents a BaseItem comparer that requires a User to perform it's comparison.
|
2018-12-27 16:27:57 -07:00
|
|
|
/// </summary>
|
|
|
|
public interface IUserBaseItemComparer : IBaseItemComparer
|
|
|
|
{
|
|
|
|
/// <summary>
|
|
|
|
/// Gets or sets the user.
|
|
|
|
/// </summary>
|
|
|
|
/// <value>The user.</value>
|
2020-05-12 19:10:35 -07:00
|
|
|
Jellyfin.Data.Entities.User User { get; set; }
|
2018-12-27 16:27:57 -07: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; }
|
|
|
|
}
|
|
|
|
}
|