public static string SerializeExternalQueryResult(ImageServerExternalQueryResult data) { return(JsmlSerializer.Serialize(data, "ImageServerExternalQueryResult", new JsmlSerializer.SerializeOptions { Hook = ExternalQueryHook, DataContractTest = IsImageServerExternalQueryContract })); }
public static XmlDocument SerializeExternalQueryResultToXmlDocument(ImageServerExternalQueryResult data) { var s = JsmlSerializer.Serialize(data, "ImageServerExternalQueryResult", new JsmlSerializer.SerializeOptions { Hook = ExternalQueryHook, DataContractTest = IsImageServerExternalQueryContract }); var d = new XmlDocument(); d.LoadXml(s); return(d); }
public static XmlDocument SerializeExternalQueryResultToXmlDocument(ImageServerExternalQueryResult data) { var s = JsmlSerializer.Serialize(data, "ImageServerExternalQueryResult", new JsmlSerializer.SerializeOptions { Hook = ExternalQueryHook, DataContractTest = IsImageServerExternalQueryContract }); var d = new XmlDocument(); d.LoadXml(s); return d; }
public static string SerializeExternalQueryResult(ImageServerExternalQueryResult data) { return JsmlSerializer.Serialize(data, "ImageServerExternalQueryResult", new JsmlSerializer.SerializeOptions { Hook = ExternalQueryHook, DataContractTest = IsImageServerExternalQueryContract }); }