using MediaBrowser.Controller.Entities; using MediaBrowser.Model.Entities; using System.Collections.Generic; using System.Threading; using System.Threading.Tasks; namespace MediaBrowser.Controller.Persistence { /// /// Interface IDisplayPreferencesRepository /// public interface IDisplayPreferencesRepository : IRepository { /// /// Saves display preferences for an item /// /// The item. /// The cancellation token. /// Task. Task SaveDisplayPrefs(Folder item, CancellationToken cancellationToken); /// /// Gets display preferences for an item /// /// The item. /// IEnumerable{DisplayPreferences}. IEnumerable RetrieveDisplayPrefs(Folder item); } }