public void ShowSettings() { if (CheckHasUncommittedChanges()) { return; } ISettingsViewModel confirmation = ServiceLocator.Current.TryResolve <ISettingsViewModel>(); SettingsRequest.Raise(confirmation); if (!confirmation.Confirmed) { return; } TestsToCommitCount = 0; configSerializer.SaveConfig(confirmation.Config); UpdateConfig(); }
private void OpenSettings() => SettingsRequest.Raise(new Notification { Content = "Blank", Title = "Blank" });