diff options
| author | Luke Pulverenti <luke.pulverenti@gmail.com> | 2015-05-04 10:35:38 -0400 |
|---|---|---|
| committer | Luke Pulverenti <luke.pulverenti@gmail.com> | 2015-05-04 10:35:38 -0400 |
| commit | a38f04b1b95aa8c80b51590bfaefbdf28819d029 (patch) | |
| tree | 03332492c0b56da0030e244ff398251a436d2359 /MediaBrowser.Controller/Entities/BaseItem.cs | |
| parent | d34ddf3ebde6685f336382c0e475c49677469492 (diff) | |
added headroom scrolling
Diffstat (limited to 'MediaBrowser.Controller/Entities/BaseItem.cs')
| -rw-r--r-- | MediaBrowser.Controller/Entities/BaseItem.cs | 34 |
1 files changed, 1 insertions, 33 deletions
diff --git a/MediaBrowser.Controller/Entities/BaseItem.cs b/MediaBrowser.Controller/Entities/BaseItem.cs index 3313f45fd..bbc3b6fd3 100644 --- a/MediaBrowser.Controller/Entities/BaseItem.cs +++ b/MediaBrowser.Controller/Entities/BaseItem.cs @@ -496,7 +496,7 @@ namespace MediaBrowser.Controller.Entities /// </summary> /// <typeparam name="T"></typeparam> /// <returns>``0.</returns> - public T FindParent<T>() + protected T FindParent<T>() where T : Folder { return Parents.OfType<T>().FirstOrDefault(); @@ -906,38 +906,6 @@ namespace MediaBrowser.Controller.Entities /// <value>The provider ids.</value> public Dictionary<string, string> ProviderIds { get; set; } - /// <summary> - /// Override this to false if class should be ignored for indexing purposes - /// </summary> - /// <value><c>true</c> if [include in index]; otherwise, <c>false</c>.</value> - [IgnoreDataMember] - public virtual bool IncludeInIndex - { - get { return true; } - } - - /// <summary> - /// Override this to true if class should be grouped under a container in indicies - /// The container class should be defined via IndexContainer - /// </summary> - /// <value><c>true</c> if [group in index]; otherwise, <c>false</c>.</value> - [IgnoreDataMember] - public virtual bool GroupInIndex - { - get { return false; } - } - - /// <summary> - /// Override this to return the folder that should be used to construct a container - /// for this item in an index. GroupInIndex should be true as well. - /// </summary> - /// <value>The index container.</value> - [IgnoreDataMember] - public virtual Folder IndexContainer - { - get { return null; } - } - [IgnoreDataMember] public virtual Folder LatestItemsIndexContainer { |
