public ConfirmLabelsDialogViewModel(PocketSuggestionViewModel suggestion) { SetupCancel(true, false, false); NextCommand = ReactiveCommand.Create(() => Close()); CancelCommand = ReactiveCommand.Create(() => Close(DialogResultKind.Normal, true)); Suggestion = suggestion; }
public ConfirmLabelsDialogViewModel(PocketSuggestionViewModel suggestion) { SetupCancel(enableCancel: true, enableCancelOnEscape: true, enableCancelOnPressed: false); CancelCommand = ReactiveCommand.Create(() => Close()); NextCommand = ReactiveCommand.Create(() => Close(DialogResultKind.Normal, true)); Suggestion = suggestion; }