07cc4be6a7
* Add analyzers to MediaBrowser.XbmcMetadata * Enable TreatWarningsAsErrors for MediaBrowser.XbmcMetadata * Add analyzers to MediaBrowser.WebDashboard * Enable TreatWarningsAsErrors for MediaBrowser.WebDashboard * Disable SA1600 in favor of CS1591
30 lines
587 B
C#
30 lines
587 B
C#
#pragma warning disable CS1591
|
|
|
|
using System.Globalization;
|
|
|
|
namespace Emby.Dlna.Common
|
|
{
|
|
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 />
|
|
public override string ToString()
|
|
{
|
|
return string.Format(
|
|
CultureInfo.InvariantCulture,
|
|
"{0}x{1}",
|
|
Height,
|
|
Width);
|
|
}
|
|
}
|
|
}
|