Beispiel #1
0
        public void Save()
        {
            _blocksManager.Save();

            lock (_lockObject)
            {
                _settings.Save("Version", 0);

                _settings.Save("ContentInfos", _contentInfoManager.ToArray());
            }
        }
Beispiel #2
0
        public void Save()
        {
            _blocksManager.Save();

            using (_lockManager.WriteLock())
            {
                _settings.Save("Version", 0);

                _settings.Save("ContentInfos", _contentInfoManager.ToArray());
            }
        }