Fix some warnings

This commit is contained in:
Bond_009
2021-09-09 15:59:13 +02:00
parent 448125f2b4
commit 0d16c48998
9 changed files with 27 additions and 26 deletions

View File

@@ -24,6 +24,14 @@ namespace MediaBrowser.Controller.Entities
private readonly object _childIdsLock = new object();
private List<Guid> _childrenIds = null;
/// <summary>
/// Initializes a new instance of the <see cref="UserRootFolder"/> class.
/// </summary>
public UserRootFolder()
{
IsRoot = true;
}
[JsonIgnore]
public override bool SupportsInheritedParentImages => false;
@@ -44,14 +52,6 @@ namespace MediaBrowser.Controller.Entities
}
}
/// <summary>
/// Initializes a new instance of the <see cref="UserRootFolder"/> class.
/// </summary>
public UserRootFolder()
{
IsRoot = true;
}
protected override List<BaseItem> LoadChildren()
{
lock (_childIdsLock)