VSSonarExtensionUi.ViewModel.Configuration.VSonarQubeOptionsViewModel.OnResetAllChangesCommand C# (CSharp) 메소드

OnResetAllChangesCommand() 개인적인 메소드

The on reset all changes command.
private OnResetAllChangesCommand ( ) : void
리턴 void
        private void OnResetAllChangesCommand()
        {
            var result = MessageBox.Show(
                "This will delete all saved settings, VS will restart after the reset. Are  you sure? ",
                "Reset saved settings",
                MessageBoxButton.YesNo,
                MessageBoxImage.Question);
            if (result == MessageBoxResult.Yes)
            {
                this.configurationHelper.ResetAllSettings();
                this.vsenvironmenthelper.RestartVisualStudio();
            }
        }