From 8b1c53ebe18952e8ce384035af68414f0a015a2e Mon Sep 17 00:00:00 2001 From: Chris Cameron Date: Wed, 7 Nov 2018 14:25:24 -0500 Subject: [PATCH] feat: IcdXmlTextWriter exposes WriteStartDocument and WriteEndDocument --- CHANGELOG.md | 2 ++ ICD.Common.Utils/Xml/IcdXmlTextWriter.cs | 10 ++++++++++ 2 files changed, 12 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index b6851ad..9727075 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,8 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html). ## [Unreleased] +### Added + - IcdXmlTextWriter exposes WriteStartDocument and WriteEndDocument ## [7.0.0] - 2018-10-30 ### Changed diff --git a/ICD.Common.Utils/Xml/IcdXmlTextWriter.cs b/ICD.Common.Utils/Xml/IcdXmlTextWriter.cs index 5659966..e3ff5c1 100644 --- a/ICD.Common.Utils/Xml/IcdXmlTextWriter.cs +++ b/ICD.Common.Utils/Xml/IcdXmlTextWriter.cs @@ -70,6 +70,16 @@ namespace ICD.Common.Utils.Xml #region Methods + public void WriteStartDocument() + { + m_Writer.WriteStartDocument(); + } + + public void WriteEndDocument() + { + m_Writer.WriteEndDocument(); + } + public void WriteStartElement(string elementName) { m_Writer.WriteStartElement(elementName);