Artemis.ViewModels.Abstract.GameViewModel.ResetSettings C# (CSharp) Method

ResetSettings() public method

public ResetSettings ( ) : void
return void
        public async void ResetSettings()
        {
            var resetConfirm =
                await DialogService.ShowQuestionMessageBox("Reset effect settings",
                    "Are you sure you wish to reset this effect's settings? \nAny changes you made will be lost.");

            if (!resetConfirm.Value)
                return;

            GameSettings.Reset(true);
            NotifyOfPropertyChange(() => GameSettings);

            SaveSettings();
        }