jellyfin/MediaBrowser.Model/Dlna/XmlAttribute.cs

26 lines
591 B
C#
Raw Normal View History

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