aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Controller/Collections/CollectionCreationOptions.cs
diff options
context:
space:
mode:
authorcrobibero <cody@robibe.ro>2020-08-23 07:53:33 -0600
committercrobibero <cody@robibe.ro>2020-08-23 07:53:33 -0600
commitcb44f16068bb66db7e35e473530c0a85583c2511 (patch)
tree0f41bf313fded94e3da067faa84ddffee505613d /MediaBrowser.Controller/Collections/CollectionCreationOptions.cs
parent4a64819277b98ac98ba0051c49fcf0cbfe16319c (diff)
parentf9bb79285b672e63054b4ab1b49b744606851c34 (diff)
Merge remote-tracking branch 'upstream/master' into output-formatters
Diffstat (limited to 'MediaBrowser.Controller/Collections/CollectionCreationOptions.cs')
-rw-r--r--MediaBrowser.Controller/Collections/CollectionCreationOptions.cs16
1 files changed, 9 insertions, 7 deletions
diff --git a/MediaBrowser.Controller/Collections/CollectionCreationOptions.cs b/MediaBrowser.Controller/Collections/CollectionCreationOptions.cs
index 1e7549d2b..f6037d05e 100644
--- a/MediaBrowser.Controller/Collections/CollectionCreationOptions.cs
+++ b/MediaBrowser.Controller/Collections/CollectionCreationOptions.cs
@@ -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>();
- }
}
}