using System; using System.Collections.Generic; using System.Linq; using System.Net; using System.Net.Http; using System.Text; using System.Threading.Tasks; namespace ShadowEditor.Server.Base { /// /// XML执行结果 /// public class XmlResult : HttpResponseMessage { /// /// 构造函数 /// /// public XmlResult(string content) { this.StatusCode = HttpStatusCode.OK; this.Content = new StringContent(content, Encoding.UTF8, "text/xml"); } } }