|
@@ -1,3 +1,5 @@
|
|
|
+#pragma warning disable CS1591
|
|
|
+
|
|
|
using System;
|
|
|
using System.Collections.Generic;
|
|
|
using MediaBrowser.Model.Entities;
|
|
@@ -6,6 +8,13 @@ namespace MediaBrowser.Controller.Collections
|
|
|
{
|
|
|
public class CollectionCreationOptions : IHasProviderIds
|
|
|
{
|
|
|
+ public CollectionCreationOptions()
|
|
|
+ {
|
|
|
+ ProviderIds = new Dictionary<string, string>(StringComparer.OrdinalIgnoreCase);
|
|
|
+ ItemIdList = Array.Empty<string>();
|
|
|
+ UserIds = Array.Empty<Guid>();
|
|
|
+ }
|
|
|
+
|
|
|
public string Name { get; set; }
|
|
|
|
|
|
public Guid? ParentId { get; set; }
|
|
@@ -17,12 +26,5 @@ namespace MediaBrowser.Controller.Collections
|
|
|
public string[] ItemIdList { get; set; }
|
|
|
|
|
|
public Guid[] UserIds { get; set; }
|
|
|
-
|
|
|
- public CollectionCreationOptions()
|
|
|
- {
|
|
|
- ProviderIds = new Dictionary<string, string>(StringComparer.OrdinalIgnoreCase);
|
|
|
- ItemIdList = Array.Empty<string>();
|
|
|
- UserIds = Array.Empty<Guid>();
|
|
|
- }
|
|
|
}
|
|
|
}
|