You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
701 B
25 lines
701 B
using System;
|
|
using System.Xml.Linq;
|
|
|
|
namespace MediaBrowser.Dlna.PlayTo
|
|
{
|
|
public class uContainer : uBaseObject
|
|
{
|
|
new public static uBaseObject Create(XElement container)
|
|
{
|
|
if (container == null)
|
|
{
|
|
throw new ArgumentNullException("container");
|
|
}
|
|
|
|
return new uBaseObject
|
|
{
|
|
Id = (string)container.Attribute(uPnpNamespaces.Id),
|
|
ParentId = (string)container.Attribute(uPnpNamespaces.ParentId),
|
|
Title = (string)container.Element(uPnpNamespaces.title),
|
|
IconUrl = container.GetValue(uPnpNamespaces.Artwork)
|
|
};
|
|
}
|
|
}
|
|
}
|