コード例 #1
0
        /// <summary>
        /// Saves the SyncDataStorage into the local storage file
        /// </summary>
        private void SaveToLocalStorage()
        {
            FileManager fileManager = new FileManager();

            fileManager.SaveXML <SyncDataStorage>(_syncStorage, SYNCSTORAGE_FILENAME);
        }
コード例 #2
0
        /// <summary>
        /// This method uses the FileManager save method to save the current configuration
        /// </summary>
        public void SaveConfig()
        {
            FileManager fileMan = new FileManager();

            fileMan.SaveXML(conf, filename);
        }