2013-03-10 04:22:36 +00:00
|
|
|
|
using MediaBrowser.Controller.Entities;
|
2013-04-02 19:25:16 +00:00
|
|
|
|
using MediaBrowser.Controller.Library;
|
2013-04-13 18:02:30 +00:00
|
|
|
|
using MediaBrowser.Controller.Persistence;
|
2013-03-10 04:22:36 +00: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 19:25:16 +00:00
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Gets or sets the user manager.
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <value>The user manager.</value>
|
|
|
|
|
IUserManager UserManager { get; set; }
|
2013-04-13 18:02:30 +00:00
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Gets or sets the user data repository.
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <value>The user data repository.</value>
|
|
|
|
|
IUserDataRepository UserDataRepository { get; set; }
|
2013-03-10 04:22:36 +00:00
|
|
|
|
}
|
|
|
|
|
}
|