コード例 #1
0
        public async Task SaveAsync()
        {
            var toWrite = await ReadBufferXmlAsync().ConfigureAwait(false);

            await _projectXmlAccessor.SaveProjectXmlAsync(toWrite).ConfigureAwait(false);

            lock (_savedXmlLock)
            {
                _lastSavedXml = toWrite;
            }
        }
コード例 #2
0
        public async Task SaveAsync()
        {
            var toWrite = await ReadBufferXmlAsync().ConfigureAwait(false);

            await _projectXmlAccessor.SaveProjectXmlAsync(toWrite).ConfigureAwait(false);
        }