public async Task SaveAsync(Library library) { await inner.SaveAsync(library); TrySaveDefaultFilePath(library); changeTracker.Clear(); }
/// <summary> /// Removes all items from the <see cref="T:System.Collections.Generic.ICollection`1" />. /// </summary> /// <exception cref="T:System.NotSupportedException"> /// The <see cref="T:System.Collections.Generic.ICollection`1" /> is read-only. /// </exception> public void Clear( ) { Precheck( ); _tracker.Clear( ); }