Beispiel #1
0
        /// <summary>
        /// Stores export profiles to a configuration file.
        /// </summary>
        /// <param name="filePath">Full path to export configuration file where it is necessary
        /// to store the profiles.</param>
        public void SaveProfiles(string filePath)
        {
            Debug.Assert(!string.IsNullOrEmpty(filePath));

            var file = new ExportFile();

            file.Save(filePath, _profiles);
        }
Beispiel #2
0
        ///////////////////////////////////////////////////////////////////////////////////////////
        ///////////////////////////////////////////////////////////////////////////////////////////
        ///////////////////////////////////////////////////////////////////////////////////////////

        /// <summary>
        /// Loads export profiles from configuration file.
        /// </summary>
        /// <param name="filePath">Full path to export configuration file.</param>
        public void LoadProfiles(string filePath)
        {
            Debug.Assert(!string.IsNullOrEmpty(filePath));

            var file = new ExportFile();

            _profiles = file.Load(filePath, _structureKeeper);
        }