public ItemEditorViewModel(IItemSerializer itemSerializer, IItemDeserializer itemDeserializer)
        {
            Check.IfIsNull(itemSerializer).Throw<ArgumentNullException>(() => itemSerializer);
            Check.IfIsNull(itemDeserializer).Throw<ArgumentNullException>(() => itemDeserializer);

            this.itemSerializer = itemSerializer;
            this.itemDeserializer = itemDeserializer;

            AddNewItemCommand = new Command(AddNewItem);

            RefreshItemsList();
        }
 public ImageImporterViewModel()
 {
     openFileDialogCreator = new OpenFileDialogCreator();
     BrowseImage = new Command(() => BrowseImageMethod(openFileDialogCreator));
 }