private async Task CutCommandImpl() { if (ConsoleService.IsEnabled) { try { var str = ConsoleService.CutSelectedInput(); ClipboardService.SetText(str); } catch (InvalidOperationException e) { await DialogService.ShowErrorDialogAsync(e.Message, "Exception"); } } }