2020-01-22 13:00:07 -07:00
|
|
|
#pragma warning disable CS1591
|
|
|
|
|
|
|
|
using System.Globalization;
|
2019-01-13 12:54:44 -07:00
|
|
|
|
2016-10-29 15:34:54 -07:00
|
|
|
namespace Emby.Dlna.Common
|
2016-10-29 15:22:20 -07:00
|
|
|
{
|
|
|
|
public class DeviceIcon
|
|
|
|
{
|
|
|
|
public string Url { get; set; }
|
|
|
|
|
|
|
|
public string MimeType { get; set; }
|
|
|
|
|
|
|
|
public int Width { get; set; }
|
|
|
|
|
|
|
|
public int Height { get; set; }
|
|
|
|
|
|
|
|
public string Depth { get; set; }
|
|
|
|
|
2020-01-22 13:00:07 -07:00
|
|
|
/// <inheritdoc />
|
2016-10-29 15:22:20 -07:00
|
|
|
public override string ToString()
|
|
|
|
{
|
2020-01-22 13:00:07 -07:00
|
|
|
return string.Format(
|
|
|
|
CultureInfo.InvariantCulture,
|
|
|
|
"{0}x{1}",
|
|
|
|
Height,
|
|
|
|
Width);
|
2016-10-29 15:22:20 -07:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|