コード例 #1
0
 public static byte[] SerializeBundleEntryToXmlBytes(BundleEntry entry, bool summary = false)
 {
     return(xmlWriterToBytes(xw => BundleXmlSerializer.WriteTo(entry, xw, summary)));
 }
コード例 #2
0
 public static void SerializeBundleEntry(BundleEntry entry, XmlWriter writer, bool summary = false)
 {
     BundleXmlSerializer.WriteTo(entry, writer, summary);
 }
コード例 #3
0
 public static string SerializeBundleEntryToXml(BundleEntry entry, bool summary = false)
 {
     return(xmlWriterToString(xw => BundleXmlSerializer.WriteTo(entry, xw, summary)));
 }
コード例 #4
0
 public static void SerializeBundle(Bundle bundle, XmlWriter writer, bool summary = false)
 {
     BundleXmlSerializer.WriteTo(bundle, writer, summary);
 }