public async Task SaveAsync() { var toWrite = await ReadBufferXmlAsync().ConfigureAwait(false); await _projectXmlAccessor.SaveProjectXmlAsync(toWrite).ConfigureAwait(false); lock (_savedXmlLock) { _lastSavedXml = toWrite; } }
public async Task SaveAsync() { var toWrite = await ReadBufferXmlAsync().ConfigureAwait(false); await _projectXmlAccessor.SaveProjectXmlAsync(toWrite).ConfigureAwait(false); }