jellyfin/MediaBrowser.Model/Dlna/XmlAttribute.cs

26 lines
591 B
C#
Raw Normal View History

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