private void BrowseImageMethod(OpenFileDialogCreator openFileCreator)
 {
     var dialog = openFileCreator.Open("The image to load", "png");
     dialog.ShowDialog();
     if (!Check.IfIsNullOrWhiteSpace(dialog.FileName))
         ImagePath = dialog.FileName;
 }
 public ImageImporterViewModel()
 {
     openFileDialogCreator = new OpenFileDialogCreator();
     BrowseImage = new Command(() => BrowseImageMethod(openFileDialogCreator));
 }