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.
jellyfin/Emby.Dlna/Common/DeviceIcon.cs

42 lines
1.0 KiB

using System.Globalization;
namespace Emby.Dlna.Common
{
4 years ago
/// <summary>
/// Defines the <see cref="DeviceIcon" />.
/// </summary>
public class DeviceIcon
{
4 years ago
/// <summary>
/// Gets or sets the Url.
/// </summary>
public string Url { get; set; } = string.Empty;
4 years ago
/// <summary>
/// Gets or sets the MimeType.
/// </summary>
public string MimeType { get; set; } = string.Empty;
4 years ago
/// <summary>
/// Gets or sets the Width.
/// </summary>
public int Width { get; set; }
4 years ago
/// <summary>
/// Gets or sets the Height.
/// </summary>
public int Height { get; set; }
4 years ago
/// <summary>
/// Gets or sets the Depth.
/// </summary>
public string Depth { get; set; } = string.Empty;
/// <inheritdoc />
public override string ToString()
{
4 years ago
return string.Format(CultureInfo.InvariantCulture, "{0}x{1}", Height, Width);
}
}
}