private void OpenProfileDataDirectory()
{
var selected = SelectedOrNull;
if (selected != null)
{
var profileDataDirectory = _profileDataDirectoryFactory (selected.Id);
if (Directory.Exists(profileDataDirectory))
System.Diagnostics.Process.Start(profileDataDirectory);
else
MessageBox.Show("The selected profile has no data directory.", "Operation aborted", MessageBoxButton.OK);
}
}