2013-03-09 21:22:36 -07:00
|
|
|
|
using MediaBrowser.Controller.Entities;
|
2013-04-02 12:25:16 -07:00
|
|
|
|
using MediaBrowser.Controller.Library;
|
2013-03-09 21:22:36 -07:00
|
|
|
|
|
|
|
|
|
namespace MediaBrowser.Controller.Sorting
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Represents a BaseItem comparer that requires a User to perform it's comparison
|
|
|
|
|
/// </summary>
|
|
|
|
|
public interface IUserBaseItemComparer : IBaseItemComparer
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Gets or sets the user.
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <value>The user.</value>
|
|
|
|
|
User User { get; set; }
|
2013-04-02 12:25:16 -07:00
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Gets or sets the user manager.
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <value>The user manager.</value>
|
|
|
|
|
IUserManager UserManager { get; set; }
|
2013-04-13 11:02:30 -07:00
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Gets or sets the user data repository.
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <value>The user data repository.</value>
|
2013-10-02 09:08:58 -07:00
|
|
|
|
IUserDataManager UserDataRepository { get; set; }
|
2013-03-09 21:22:36 -07:00
|
|
|
|
}
|
|
|
|
|
}
|