jellyfin/Emby.Dlna/ControlResponse.cs

29 lines
602 B
C#
Raw Normal View History

#pragma warning disable CS1591
using System.Collections.Generic;
2014-05-11 19:02:28 -04:00
2018-09-12 13:26:21 -04:00
namespace Emby.Dlna
2014-05-11 19:02:28 -04:00
{
public class ControlResponse
{
2021-07-26 17:02:32 -04:00
public ControlResponse(string xml, bool isSuccessful)
{
Headers = new Dictionary<string, string>();
2021-07-26 17:02:32 -04:00
Xml = xml;
IsSuccessful = isSuccessful;
}
2020-08-20 15:04:57 -04:00
public IDictionary<string, string> Headers { get; }
2014-05-11 19:02:28 -04:00
public string Xml { get; set; }
public bool IsSuccessful { get; set; }
2020-08-16 10:32:03 -04:00
2020-08-16 10:40:43 -04:00
/// <inheritdoc />
2020-08-16 10:32:03 -04:00
public override string ToString()
{
return Xml;
}
2014-05-11 19:02:28 -04:00
}
}