コード例 #1
0
        public void Save(IFileIO fileIO)
        {
            var site = ConvertToXelement();

            try
            {
                fileIO.Save(site, _id);
                IsDirty = false;
            }
            catch (Exception ex)
            {
                throw new ApplicationException("Error saving web site config: " + ex.Message);
            }
        }