jellyfin-server/Emby.Dlna/Common/DeviceIcon.cs

31 lines
618 B
C#
Raw Normal View History

#pragma warning disable CS1591
#pragma warning disable SA1600
using System.Globalization;
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; }
/// <inheritdoc />
2016-10-29 22:22:20 +00:00
public override string ToString()
{
return string.Format(
CultureInfo.InvariantCulture,
"{0}x{1}",
Height,
Width);
2016-10-29 22:22:20 +00:00
}
}
}