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