private void undo() { if (!_history.CanGoBack) { return; } _history.Revert(); _converter.ApplyJsonChanges(_test, _history.Current); enableUndoRedo(); publish(null); }