/// <inheritdoc /> public void RevertChanges() { _snapshot.RevertChanges(); if (_currentState == TrackedState.Modified) { _currentState = TrackedState.Unchanged; } _forceModified = false; }