Class Folder
Inheritance
System.Object
Folder
Assembly: MediaBrowser.Controller.dll
public class Folder : BaseItem, IHasProviderIds, IHasLookupInfo<ItemLookupInfo>, IHasFolderGrouping
Properties
Declaration
[IgnoreDataMember]
public bool AllowRecursiveCounts { get; }
Property Value
Type |
Description |
System.Boolean |
|
Declaration
[IgnoreDataMember]
public override bool IsDisplayedAsFolder { get; }
Property Value
Type |
Description |
System.Boolean |
|
Overrides
Gets a value indicating whether this instance is folder.
Declaration
[IgnoreDataMember]
public override bool IsFolder { get; }
Property Value
Type |
Description |
System.Boolean |
true if this instance is folder; otherwise, false .
|
Overrides
Declaration
[IgnoreDataMember]
public virtual bool IsPhysicalRoot { get; }
Property Value
Type |
Description |
System.Boolean |
|
Declaration
[IgnoreDataMember]
public bool IsPreSorted { get; }
Property Value
Type |
Description |
System.Boolean |
|
Declaration
[IgnoreDataMember]
public override bool IsResolvedToFolder { get; }
Property Value
Type |
Description |
System.Boolean |
|
Overrides
Declaration
[IgnoreDataMember]
public override bool IsTopParent { get; }
Property Value
Type |
Description |
System.Boolean |
|
Overrides
Declaration
[IgnoreDataMember]
protected virtual bool MarkDirectlyAsPlayed { get; }
Property Value
Type |
Description |
System.Boolean |
|
Declaration
[IgnoreDataMember]
public virtual bool SupportsCumulativeRunTimeTicks { get; }
Property Value
Type |
Description |
System.Boolean |
|
Declaration
[IgnoreDataMember]
public override bool SupportsExternalTransfer { get; }
Property Value
Type |
Description |
System.Boolean |
|
Overrides
Declaration
[IgnoreDataMember]
public override bool SupportsInheritedParentImages { get; }
Property Value
Type |
Description |
System.Boolean |
|
Overrides
Declaration
public static IUserViewManager UserViewManager { get; set; }
Property Value
Methods
Declaration
public void AddChild(BaseItem item)
Parameters
Type |
Name |
Description |
BaseItem |
item |
The item.
|
Declaration
public void AddChild(BaseItem item, BaseItem[] collectionFolders)
Parameters
Declaration
public override bool CanDelete()
Returns
Type |
Description |
System.Boolean |
|
Overrides
Declaration
protected virtual void FillPlayedStatus(UserItemDataDto dto, int? recursiveItemCount, User user, DtoOptions options)
Parameters
Declaration
public override void FillUserDataDtoValues(UserItemDataDto dto, BaseItemDto itemDto, User user, DtoOptions options)
Parameters
Overrides
Declaration
public virtual int GetChildCount(User user)
Parameters
Type |
Name |
Description |
User |
user |
|
Returns
Type |
Description |
System.Int32 |
|
Declaration
public BaseItem[] GetChildren(InternalItemsQuery query)
Parameters
Returns
Declaration
public BaseItem[] GetChildren(User user)
Parameters
Type |
Name |
Description |
User |
user |
|
Returns
Declaration
protected override BaseItem[] GetChildrenForValidation()
Returns
Overrides
Declaration
public long[] GetChildrenIds(InternalItemsQuery query)
Parameters
Returns
Type |
Description |
System.Int64[] |
|
Declaration
public long[] GetItemIdList(InternalItemsQuery query)
Parameters
Returns
Type |
Description |
System.Int64[] |
|
Declaration
protected virtual long[] GetItemIdsInternal(InternalItemsQuery query)
Parameters
Returns
Type |
Description |
System.Int64[] |
|
Declaration
public BaseItem[] GetItemList(InternalItemsQuery query)
Parameters
Returns
Declaration
public QueryResult<BaseItem> GetItems(InternalItemsQuery query)
Parameters
Returns
Declaration
protected virtual QueryResult<BaseItem> GetItemsInternal(InternalItemsQuery query)
Parameters
Returns
Get the children of this folder from the actual file system
Declaration
protected override List<BaseItem> GetNonCachedChildren(IDirectoryService directoryService, LibraryOptions libraryOptions)
Parameters
Returns
Type |
Description |
System.Collections.Generic.List<BaseItem> |
|
Overrides
Declaration
public virtual int GetRecursiveChildCount(User user)
Parameters
Type |
Name |
Description |
User |
user |
|
Returns
Type |
Description |
System.Int32 |
|
Gets the recursive children.
Declaration
public BaseItem[] GetRecursiveChildren()
Returns
Type |
Description |
BaseItem[] |
IList{BaseItem}.
|
Declaration
public override double? GetRefreshProgress()
Returns
Type |
Description |
System.Nullable<System.Double> |
|
Overrides
Declaration
public override bool IsPlayed(User user)
Parameters
Type |
Name |
Description |
User |
user |
|
Returns
Type |
Description |
System.Boolean |
|
Overrides
Declaration
public override bool IsUnplayed(User user)
Parameters
Type |
Name |
Description |
User |
user |
|
Returns
Type |
Description |
System.Boolean |
|
Overrides
Declaration
public override void MarkPlayed(User user, BaseItem[] collectionFolders, DateTimeOffset? datePlayed, bool resetPosition)
Parameters
Type |
Name |
Description |
User |
user |
The user.
|
BaseItem[] |
collectionFolders |
|
System.Nullable<System.DateTimeOffset> |
datePlayed |
The date played.
|
System.Boolean |
resetPosition |
if set to true [reset position].
|
Overrides
Declaration
public override void MarkUnplayed(User user)
Parameters
Type |
Name |
Description |
User |
user |
The user.
|
Overrides
Declaration
protected override void TriggerOnRefreshComplete()
Overrides
Declaration
protected override void TriggerOnRefreshStart()
Overrides
Implements
Extension Methods