VSSonarExtensionUi.ViewModel.Configuration.VSonarQubeOptionsViewModel.OnResetAllChangesCommand C# (CSharp) Method

OnResetAllChangesCommand() private method

The on reset all changes command.
private OnResetAllChangesCommand ( ) : void
return 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();
            }
        }