Enable TreatWarningsAsErrors for MediaBrowser.Model
This commit is contained in:
@@ -9,6 +9,11 @@ namespace MediaBrowser.Model.Dlna
|
||||
{
|
||||
public class ContainerProfile
|
||||
{
|
||||
public ContainerProfile()
|
||||
{
|
||||
Conditions = Array.Empty<ProfileCondition>();
|
||||
}
|
||||
|
||||
[XmlAttribute("type")]
|
||||
public DlnaProfileType Type { get; set; }
|
||||
|
||||
@@ -17,11 +22,6 @@ namespace MediaBrowser.Model.Dlna
|
||||
[XmlAttribute("container")]
|
||||
public string Container { get; set; }
|
||||
|
||||
public ContainerProfile()
|
||||
{
|
||||
Conditions = Array.Empty<ProfileCondition>();
|
||||
}
|
||||
|
||||
public string[] GetContainers()
|
||||
{
|
||||
return SplitValue(Container);
|
||||
|
||||
Reference in New Issue
Block a user