protected XmlDocument BuildXmlDocument(RpcBaseClass testClass) { var doc = new XmlDocument(); var custom = testClass.BuildXmlElement(doc, "custom"); doc.AppendChild(custom); return(doc); }
protected string ToFormattedXml(RpcBaseClass testClass) { return(BuildXmlDocument(testClass).InnerXmlFormatted(4)); }