private static void ProcessSavedXMLExportFormat(XMLExportFormat xef, Utf8JsonWriter jsonw) { jsonw.WriteStartObject(); jsonw.WriteString("Description", xef.Description); jsonw.WriteString("ExportBlobField", xef.ExportBlobField.ToStringSafe()); jsonw.WriteString("FileExtension", xef.FileExtension); jsonw.WriteString("Name", xef.Name); jsonw.WriteEndObject(); }
private static void ProcessSavedXMLExportFormat(XMLExportFormat xef, XmlWriter xmlw) { xmlw.WriteStartElement("XmlExportFormat"); xmlw.WriteAttributeString("Description", xef.Description); xmlw.WriteAttributeString("ExportBlobField", xef.ExportBlobField.ToStringSafe()); xmlw.WriteAttributeString("FileExtension", xef.FileExtension); xmlw.WriteAttributeString("Name", xef.Name); xmlw.WriteEndElement(); }