예제 #1
0
        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();
        }
예제 #2
0
 private void OpenSettings() => SettingsRequest.Raise(new Notification {
     Content = "Blank", Title = "Blank"
 });