private async void View_OnPaste(object sender, EventArgs e) { var files = _clipboard.GetFiles(); if (!files.Any()) { return; } await CopyMoveFilesToViewAsync(null, files.Effect, files); }
private void View_PasteClipboardToDirectory(object sender, DirectoryEventArgs e) { try { var files = _clipboard.GetFiles(); PasteFiles(e.FullPath, files, files.Effect); } catch (ExternalException ex) { _dialogView.ClipboardIsBusy(ex.Message); } }