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

31 lines
866 B
C#
Raw Normal View History

#nullable disable
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; }
}
}