ACAT.Lib.Core.AbbreviationsManagement.Abbreviations.closeAbbreviationFile C# (CSharp) Méthode

closeAbbreviationFile() private méthode

Writes the closing xml element and closes the xmltextwriter object
private closeAbbreviationFile ( XmlWriter xmlTextWriter ) : void
xmlTextWriter System.Xml.XmlWriter opened xml writer object
Résultat void
        private void closeAbbreviationFile(XmlWriter xmlTextWriter)
        {
            try
            {
                xmlTextWriter.WriteEndDocument();
                xmlTextWriter.Flush();
                xmlTextWriter.Close();
            }
            catch (Exception ex)
            {
                Log.Debug(ex.ToString());
            }
        }