2020-01-22 20:00:07 +00:00
|
|
|
#pragma warning disable CS1591
|
|
|
|
|
|
|
|
using System.Globalization;
|
2019-01-13 19:54:44 +00:00
|
|
|
|
2016-10-29 22:34:54 +00:00
|
|
|
namespace Emby.Dlna.Common
|
2016-10-29 22:22:20 +00: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 20:00:07 +00:00
|
|
|
/// <inheritdoc />
|
2016-10-29 22:22:20 +00:00
|
|
|
public override string ToString()
|
|
|
|
{
|
2020-01-22 20:00:07 +00:00
|
|
|
return string.Format(
|
|
|
|
CultureInfo.InvariantCulture,
|
|
|
|
"{0}x{1}",
|
|
|
|
Height,
|
|
|
|
Width);
|
2016-10-29 22:22:20 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|