public StatusTemplate(Int64 nextId, bool success) { // <PollinatorResponse /> // var document = XmlBuilder.CreateDocument("PollinatorResponse"); // <next-id /> XmlBuilder.AddElement(document, "next-id", $"{nextId}"); // <Status /> XmlBuilder.AddElement(document, "Status", success ? "Success" : "Failed"); // save xml _xml = document.OuterXml; }