diff options
Diffstat (limited to 'MediaBrowser.Model/Dlna/ResponseProfile.cs')
| -rw-r--r-- | MediaBrowser.Model/Dlna/ResponseProfile.cs | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/MediaBrowser.Model/Dlna/ResponseProfile.cs b/MediaBrowser.Model/Dlna/ResponseProfile.cs index 8c6b0806f..bf9661f7f 100644 --- a/MediaBrowser.Model/Dlna/ResponseProfile.cs +++ b/MediaBrowser.Model/Dlna/ResponseProfile.cs @@ -1,9 +1,18 @@ +#nullable disable +#pragma warning disable CS1591 + +using System; using System.Xml.Serialization; namespace MediaBrowser.Model.Dlna { public class ResponseProfile { + public ResponseProfile() + { + Conditions = Array.Empty<ProfileCondition>(); + } + [XmlAttribute("container")] public string Container { get; set; } @@ -24,11 +33,6 @@ namespace MediaBrowser.Model.Dlna public ProfileCondition[] Conditions { get; set; } - public ResponseProfile() - { - Conditions = new ProfileCondition[] { }; - } - public string[] GetContainers() { return ContainerProfile.SplitValue(Container); |
