Esempio n. 1
0
        /// <summary>
        /// Stores option groups and their values in an XML file and sets the
        /// IsDirty flag to false.
        /// </summary>
        /// <param name="fileName"></param>
        void IEngine.WriteXML(string fileName)
        {
            var xmlWriter = new XMLLayer();

            xmlWriter.WriteXML(fileName, this);
            IsDirty = false;
        }
Esempio n. 2
0
        /// <summary>
        /// Stores option groups and their values in a string containing XML
        /// formatted data and sets the IsDirty flag to false.
        /// </summary>
        /// <returns></returns>
        public string WriteXML()
        {
            var    xmlWriter = new XMLLayer();
            string result    = xmlWriter.WriteXML(this);

            IsDirty = false;

            return(result);
        }