void Command_Files_Insert(InsertFilesDialog.Result result) => ReplaceSelections(GetSelectionStrings().AsParallel().AsOrdered().Select(fileName => Coder.BytesToString(File.ReadAllBytes(fileName), result.CodePage, true)).ToList());
public static Result Run(Window parent) { var dialog = new InsertFilesDialog() { Owner = parent }; return dialog.ShowDialog() ? dialog.result : null; }