Example #1
0
        private void OnCancel()
        {
            var cancellable = new CancellationCommandArgument();

            loadoutSelectorViewModel.CancelCommand.ExecuteIfPossible(cancellable);

            if (cancellable.IsCancelled == false)
            {
                Close();
            }
        }
Example #2
0
        private void OnCancel(object parameter)
        {
            var cancellable = new CancellationCommandArgument();

            equipmentExplorerViewModel.CancelCommand.ExecuteIfPossible(cancellable);

            if (cancellable.IsCancelled == false)
            {
                Close();
            }
        }
        private void OnCancel(object parameter)
        {
            var cancellable = new CancellationCommandArgument();

            SkillSelector.CancelCommand.ExecuteIfPossible(cancellable);

            if (cancellable.IsCancelled == false)
            {
                Close();
            }
        }
        private void OnCancel(object parameter)
        {
            var cancellable = new CancellationCommandArgument();

            decorationsOverrideViewModel.CancelCommand.ExecuteIfPossible(cancellable);

            if (cancellable.IsCancelled == false)
            {
                Close();
            }
        }