jellyfin/MediaBrowser.Model/Dlna/XmlAttribute.cs

26 lines
591 B
C#
Raw Normal View History

#nullable disable
2020-02-04 01:49:27 +01:00
#pragma warning disable CS1591
using System.Xml.Serialization;
2018-12-28 00:27:57 +01:00
namespace MediaBrowser.Model.Dlna
{
2020-09-13 14:49:11 +02:00
/// <summary>
/// Defines the <see cref="XmlAttribute" />.
/// </summary>
2018-12-28 00:27:57 +01:00
public class XmlAttribute
{
2020-09-13 14:49:11 +02:00
/// <summary>
/// Gets or sets the name of the attribute.
/// </summary>
2018-12-28 00:27:57 +01:00
[XmlAttribute("name")]
public string Name { get; set; }
2020-09-13 14:49:11 +02:00
/// <summary>
/// Gets or sets the value of the attribute.
/// </summary>
2018-12-28 00:27:57 +01:00
[XmlAttribute("value")]
public string Value { get; set; }
}
}